Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.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.002332/0.002332, allocations: 81.48 kB / 19.44 MB, free: 348 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.002924/0.002924, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.574/1.574, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.333/1.333, allocations: 154.8 MB / 414.4 MB, free: 480 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0.875 kB / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.579e-05/3.756e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002982/0.00302, allocations: 1.426 MB / 0.5212 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004781/0.007801, allocations: 2.979 MB / 0.5241 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.007851, allocations: 4 kB / 0.5241 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.007961, allocations: 7.922 kB / 0.5241 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.008092, allocations: 31.88 kB / 0.5242 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007211/0.008813, allocations: 199.9 kB / 0.5244 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.009142, allocations: 248 kB / 0.5246 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.754e-05/0.009199, allocations: 3.984 kB / 0.5246 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.009377, allocations: 124.3 kB / 0.5247 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.009552, allocations: 116.7 kB / 0.5248 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.009593, allocations: 12 kB / 0.5248 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004312/0.01002, allocations: 139.8 kB / 0.525 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.01016, allocations: 97.28 kB / 0.5251 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.01028, allocations: 71.88 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005656/0.01084, allocations: 303.1 kB / 0.5254 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01085, allocations: 0 / 0.5254 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.01085, allocations: 0.9688 kB / 0.5254 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.01086, allocations: 0 / 0.5254 GB, free: 12.6 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001076/0.01193, allocations: 0.5676 MB / 0.526 GB, free: 12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.01198, allocations: 12.81 kB / 0.526 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.01219, allocations: 32.84 kB / 0.526 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.0125, allocations: 181.6 kB / 0.5262 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.329e-05/0.01256, allocations: 24.36 kB / 0.5262 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.01259, allocations: 16.31 kB / 0.5262 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006606/0.01325, allocations: 232.8 kB / 0.5265 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.01326, allocations: 192 / 0.5265 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.01329, allocations: 12.12 kB / 0.5265 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.0133, allocations: 2.375 kB / 0.5265 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.01482, allocations: 0.6379 MB / 0.5271 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.0152, allocations: 200.4 kB / 0.5273 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.01705, allocations: 0.5712 MB / 0.5278 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005239/0.01757, allocations: 179 kB / 0.528 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/0.01796, allocations: 83.88 kB / 0.5281 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/0.01802, allocations: 37.39 kB / 0.5281 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 2.034e-06/0.01802, allocations: 0 / 0.5281 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.001783/0.0198, allocations: 0.5169 MB / 0.5286 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.01987, allocations: 67.34 kB / 0.5287 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.02009, allocations: 182.5 kB / 0.5289 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.02013, allocations: 30.58 kB / 0.5289 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.02025, allocations: 139.5 kB / 0.529 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.02043, allocations: 126.9 kB / 0.5292 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.02057, allocations: 71.95 kB / 0.5292 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003392/0.02091, allocations: 0.5084 MB / 0.5297 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.02139, allocations: 141.7 kB / 0.5299 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.02185, allocations: 139.2 kB / 0.53 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008976/0.02275, allocations: 276.7 kB / 0.5303 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.02276, allocations: 0 / 0.5303 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001174/0.02393, allocations: 371.6 kB / 0.5306 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.02395, allocations: 7.969 kB / 0.5306 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.02397, allocations: 4 kB / 0.5306 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.02399, allocations: 0 / 0.5306 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.02443, allocations: 109.6 kB / 0.5307 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.02444, allocations: 0 / 0.5307 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.02467, allocations: 48.83 kB / 0.5308 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.0247, allocations: 21.2 kB / 0.5308 GB, free: 6.949 MB / 0.4948 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 (37): * Single equations (assignments): 37 * 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 0.000189/0.02489, allocations: 168.5 kB / 0.5309 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.02496, allocations: 27.91 kB / 0.531 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.02624, allocations: 445.5 kB / 0.5314 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.02625, allocations: 4 kB / 0.5314 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.02626, allocations: 3.938 kB / 0.5314 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.02627, allocations: 3.984 kB / 0.5314 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.02659, allocations: 201.2 kB / 0.5316 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.02659, allocations: 0 / 0.5316 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.02698, allocations: 105.9 kB / 0.5317 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.02698, allocations: 0 / 0.5317 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.02701, allocations: 11.98 kB / 0.5317 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.02701, allocations: 2.531 kB / 0.5317 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.02701, allocations: 0 / 0.5317 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.02816, allocations: 442.1 kB / 0.5321 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.0282, allocations: 21.97 kB / 0.5322 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.02823, allocations: 4 kB / 0.5322 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.02852, allocations: 43.89 kB / 0.5322 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/0.02883, allocations: 144.8 kB / 0.5323 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.02886, allocations: 8 kB / 0.5324 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.669e-05/0.02895, allocations: 146.2 kB / 0.5325 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02895, allocations: 0 / 0.5325 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004008/0.02936, allocations: 120.9 kB / 0.5326 GB, free: 5.035 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (37): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.0004162/0.02977, allocations: 193.3 kB / 0.5328 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.03085, allocations: 375.2 kB / 0.5332 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.03085, allocations: 0 / 0.5332 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005501/0.0314, allocations: 221.7 kB / 0.5334 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.03184, allocations: 88.08 kB / 0.5334 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/0.0326, allocations: 349.2 kB / 0.5338 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.03273, allocations: 115.3 kB / 0.5339 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003854/0.03312, allocations: 163.8 kB / 0.534 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.03323, allocations: 40.48 kB / 0.5341 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.03323, allocations: 0 / 0.5341 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of Templates: time 0.01202/0.04525, allocations: 5.511 MB / 0.5395 GB, free: 14.21 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.717540057026781]