Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00244/0.00244, allocations: 85.48 kB / 19.44 MB, free: 344 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.002096/0.002096, 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.37/1.37, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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 178] 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.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.503e-05/3.713e-05, allocations: 8.656 kB / 0.5196 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002891/0.002928, allocations: 1.402 MB / 0.521 GB, free: 1.184 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004701/0.007629, allocations: 2.972 MB / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.007671, allocations: 5.469 kB / 0.5239 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.007775, allocations: 3.984 kB / 0.5239 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.007917, allocations: 43.73 kB / 0.5239 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.008621, allocations: 196.7 kB / 0.5241 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.00896, allocations: 252.7 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.009001, allocations: 4 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.009185, allocations: 115.8 kB / 0.5245 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.009372, allocations: 119.8 kB / 0.5246 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.009412, allocations: 8.844 kB / 0.5246 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.009871, allocations: 147.8 kB / 0.5247 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.01001, allocations: 92.53 kB / 0.5248 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.01013, allocations: 71.89 kB / 0.5249 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.01065, allocations: 311.8 kB / 0.5252 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.01066, allocations: 0 / 0.5252 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.01066, allocations: 0.8438 kB / 0.5252 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.01067, allocations: 4 kB / 0.5252 GB, free: 12.87 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.001149/0.01182, allocations: 0.5599 MB / 0.5257 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.01187, allocations: 13 kB / 0.5258 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.01209, allocations: 32.83 kB / 0.5258 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.01242, allocations: 183.4 kB / 0.526 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/0.01247, allocations: 20.36 kB / 0.526 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.01251, allocations: 16.38 kB / 0.526 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006638/0.01317, allocations: 232.8 kB / 0.5262 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.01319, allocations: 7.219 kB / 0.5262 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.01321, allocations: 8.125 kB / 0.5262 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.01322, allocations: 4 kB / 0.5262 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.01476, allocations: 0.6416 MB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.01515, allocations: 201.3 kB / 0.5271 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.0169, allocations: 0.5624 MB / 0.5276 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.0174, allocations: 169.9 kB / 0.5278 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/0.01775, allocations: 87.86 kB / 0.5278 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.01779, allocations: 41.39 kB / 0.5279 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 1.944e-06/0.01779, allocations: 1.031 kB / 0.5279 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.001728/0.01952, allocations: 0.521 MB / 0.5284 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.01959, allocations: 64.84 kB / 0.5285 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.01976, allocations: 184.4 kB / 0.5286 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.0198, allocations: 33.7 kB / 0.5287 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.742e-05/0.0199, allocations: 135.5 kB / 0.5288 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.02005, allocations: 127.9 kB / 0.5289 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.02018, allocations: 71.34 kB / 0.529 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003844/0.02056, allocations: 0.5007 MB / 0.5295 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.02104, allocations: 145.4 kB / 0.5296 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.02149, allocations: 144.1 kB / 0.5298 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008765/0.02237, allocations: 268.1 kB / 0.53 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.02237, allocations: 4 kB / 0.53 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001085/0.02346, allocations: 372.5 kB / 0.5304 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.02348, allocations: 8 kB / 0.5304 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.02348, allocations: 0 / 0.5304 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.0235, allocations: 5.5 kB / 0.5304 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.02393, allocations: 107.8 kB / 0.5305 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.02394, allocations: 4.625 kB / 0.5305 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.02416, allocations: 48.78 kB / 0.5305 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.02419, allocations: 12.94 kB / 0.5305 GB, free: 7.223 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.0001751/0.02437, allocations: 173.1 kB / 0.5307 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.02444, allocations: 27.91 kB / 0.5307 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.02571, allocations: 443.8 kB / 0.5312 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.02572, allocations: 4 kB / 0.5312 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.02573, allocations: 5.312 kB / 0.5312 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.02574, allocations: 3.984 kB / 0.5312 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.02607, allocations: 204.5 kB / 0.5314 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.02608, allocations: 7.969 kB / 0.5314 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.02646, allocations: 98.02 kB / 0.5315 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.02646, allocations: 0 / 0.5315 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.0265, allocations: 11.98 kB / 0.5315 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.0265, allocations: 8.859 kB / 0.5315 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.0265, allocations: 3.938 kB / 0.5315 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.02766, allocations: 437.5 kB / 0.5319 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.0277, allocations: 23.83 kB / 0.5319 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.02774, allocations: 4 kB / 0.5319 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.02793, allocations: 35.97 kB / 0.532 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003112/0.02824, allocations: 145 kB / 0.5321 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.02827, allocations: 11.98 kB / 0.5321 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001107/0.02838, allocations: 143.2 kB / 0.5323 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02838, allocations: 0 / 0.5323 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004428/0.02883, allocations: 117.4 kB / 0.5324 GB, free: 5.301 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.0004217/0.02925, allocations: 196.1 kB / 0.5326 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.03038, allocations: 375.6 kB / 0.5329 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.03039, allocations: 0 / 0.5329 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.03097, allocations: 224.2 kB / 0.5331 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.03143, allocations: 93.16 kB / 0.5332 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/0.03241, allocations: 357.8 kB / 0.5336 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.03259, allocations: 111.1 kB / 0.5337 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000434/0.03302, allocations: 154.7 kB / 0.5338 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.03317, allocations: 44.47 kB / 0.5339 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of SimCode: time 2.174e-06/0.03317, allocations: 1.375 kB / 0.5339 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of Templates: time 0.0124/0.04557, allocations: 5.487 MB / 0.5392 GB, free: 14.5 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.699653420015238]