Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008342/0.0008342, allocations: 84.44 kB / 19.91 MB, free: 4 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 169.2 kB / 23.19 MB, free: 1.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9168/0.9168, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7506/0.7506, allocations: 154.7 MB / 414.7 MB, free: 0.75 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009274/0.0009274, allocations: 77.77 kB / 0.6196 GB, free: 13.09 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.524/0.5249, allocations: 101.9 MB / 0.7192 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.00191/0.5269, allocations: 0.6844 MB / 0.7198 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.5282, allocations: 0.8279 MB / 0.7207 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.5283, allocations: 0 / 0.7207 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.698e-05/0.5283, allocations: 1.75 kB / 0.7207 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.5284, allocations: 9.406 kB / 0.7207 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001017/0.5285, allocations: 14.5 kB / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.5287, allocations: 50.38 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.5288, allocations: 13.39 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.529, allocations: 20.81 kB / 0.7208 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.529, allocations: 26.25 kB / 0.7208 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.529, allocations: 3.875 kB / 0.7208 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.046e-06/0.529, allocations: 3.5 kB / 0.7208 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.5291, allocations: 7.359 kB / 0.7208 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.5291, allocations: 13.3 kB / 0.7208 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.5292, allocations: 48.95 kB / 0.7209 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5292, allocations: 0 / 0.7209 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5292, allocations: 4 kB / 0.7209 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.5292, allocations: 1.219 kB / 0.7209 GB, free: 22.53 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004322/0.5296, allocations: 288 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.5297, allocations: 8.844 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.5297, allocations: 7.891 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.167e-05/0.5298, allocations: 118.4 kB / 0.7213 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.5299, allocations: 6.141 kB / 0.7213 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.5299, allocations: 2.688 kB / 0.7213 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.5301, allocations: 76.31 kB / 0.7213 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5301, allocations: 192 / 0.7213 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.5301, allocations: 4.547 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.5301, allocations: 1.094 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.5303, allocations: 62.88 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.5306, allocations: 211.3 kB / 0.7216 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.5308, allocations: 53.98 kB / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.5309, allocations: 47.64 kB / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.5309, allocations: 1.766 kB / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.5309, allocations: 31.72 kB / 0.7217 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.5309, allocations: 0 / 0.7217 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003741/0.5313, allocations: 132.7 kB / 0.7219 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.5313, allocations: 52.47 kB / 0.7219 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/0.5314, allocations: 107.7 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.5314, allocations: 29.7 kB / 0.722 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.5314, allocations: 84.44 kB / 0.7221 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.5314, allocations: 12.94 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.5315, allocations: 14.31 kB / 0.7222 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.989e-05/0.5315, allocations: 317.1 kB / 0.7225 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.311e-05/0.5316, allocations: 34.95 kB / 0.7225 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/0.5317, allocations: 27.12 kB / 0.7225 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.5318, allocations: 71.2 kB / 0.7226 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5318, allocations: 4.594 kB / 0.7226 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000178/0.532, allocations: 106 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.532, allocations: 5.109 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.532, allocations: 4 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.532, allocations: 1.312 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.5321, allocations: 15.14 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.5322, allocations: 1.766 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.5322, allocations: 15.67 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.5322, allocations: 0 / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.5323, allocations: 118.2 kB / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.5323, allocations: 10.23 kB / 0.7229 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.5323, allocations: 9.859 kB / 0.7229 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5323, allocations: 0.75 kB / 0.7229 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5323, allocations: 1.125 kB / 0.7229 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.5323, allocations: 1.875 kB / 0.7229 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.5323, allocations: 1.125 kB / 0.7229 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.5324, allocations: 19.73 kB / 0.7229 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.5324, allocations: 7.344 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002187/0.5326, allocations: 184 kB / 0.7231 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002089/0.5328, allocations: 274.6 kB / 0.7233 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.406e-05/0.5329, allocations: 37.47 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.837e-05/0.533, allocations: 91.34 kB / 0.7235 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of Backend: time 3.51e-07/0.533, allocations: 0 / 0.7235 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.5333, allocations: 109.4 kB / 0.7236 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004899/0.5338, allocations: 0.5778 MB / 0.7241 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.002728/0.5366, allocations: 0.9317 MB / 0.725 GB, free: 19.63 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.282588517060503] Failed to read output from testmodel.py, exit status != 0: 0.5424608439207077 0.551756737 0.020572025 Calling exit ...