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.001422/0.001422, allocations: 78.73 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00183/0.00183, allocations: 161.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.498/1.498, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 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-531:190: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-531:198: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.234/1.234, allocations: 154.6 MB / 413.7 MB, free: 5.281 MB / 382.1 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.413e-06/1.413e-06, allocations: 0 / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.313e-05, allocations: 5.234 kB / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002738/0.002771, allocations: 1.38 MB / 0.6199 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004182/0.006953, allocations: 2.758 MB / 0.6225 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.006998, allocations: 0 / 0.6225 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.725e-05/0.007095, allocations: 11.92 kB / 0.6226 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.007244, allocations: 39.75 kB / 0.6226 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006732/0.007917, allocations: 194.9 kB / 0.6228 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.008241, allocations: 247.4 kB / 0.623 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.008283, allocations: 4 kB / 0.623 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.008465, allocations: 119.8 kB / 0.6231 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.008636, allocations: 115.8 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.008679, allocations: 15.94 kB / 0.6233 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.0091, allocations: 143.7 kB / 0.6234 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.009239, allocations: 99.83 kB / 0.6235 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.009361, allocations: 71.83 kB / 0.6236 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.009815, allocations: 303.2 kB / 0.6238 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.009822, allocations: 0 / 0.6238 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.009824, allocations: 0 / 0.6238 GB, free: 15.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.009831, allocations: 3.938 kB / 0.6239 GB, free: 15.16 MB / 0.545 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.0009902/0.01082, allocations: 469 kB / 0.6243 GB, free: 14.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.01086, allocations: 9.469 kB / 0.6243 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.01103, allocations: 20.8 kB / 0.6243 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.01131, allocations: 181.5 kB / 0.6245 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.01137, allocations: 24.36 kB / 0.6245 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.0114, allocations: 20.31 kB / 0.6245 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007199/0.01212, allocations: 290.6 kB / 0.6248 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.01213, allocations: 192 / 0.6248 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.01216, allocations: 12.12 kB / 0.6248 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.01217, allocations: 4 kB / 0.6248 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.0138, allocations: 0.7308 MB / 0.6256 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.01416, allocations: 225.1 kB / 0.6258 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.01593, allocations: 0.641 MB / 0.6264 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.01647, allocations: 212.6 kB / 0.6266 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/0.01678, allocations: 83.88 kB / 0.6267 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.01682, allocations: 35.5 kB / 0.6267 GB, free: 12.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.01682, allocations: 0 / 0.6267 GB, free: 12.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001788/0.01861, allocations: 0.6565 MB / 0.6273 GB, free: 11.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.01867, allocations: 63.28 kB / 0.6274 GB, free: 11.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.01878, allocations: 126.1 kB / 0.6275 GB, free: 11.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.01882, allocations: 33.7 kB / 0.6276 GB, free: 11.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.01888, allocations: 84.8 kB / 0.6276 GB, free: 11.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.019, allocations: 130.9 kB / 0.6278 GB, free: 11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.01911, allocations: 65.69 kB / 0.6278 GB, free: 10.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.01928, allocations: 330.8 kB / 0.6281 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/0.01981, allocations: 195.7 kB / 0.6283 GB, free: 10.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.02034, allocations: 203.5 kB / 0.6285 GB, free: 10.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.02135, allocations: 365.9 kB / 0.6289 GB, free: 9.848 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02135, allocations: 0 / 0.6289 GB, free: 9.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001181/0.02253, allocations: 461 kB / 0.6293 GB, free: 9.391 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.02255, allocations: 4 kB / 0.6293 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.02256, allocations: 0 / 0.6293 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.02258, allocations: 4 kB / 0.6293 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.02297, allocations: 95.8 kB / 0.6294 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.02298, allocations: 0 / 0.6294 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.02318, allocations: 59.8 kB / 0.6295 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.02322, allocations: 11.98 kB / 0.6295 GB, free: 9.219 MB / 0.545 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.0001539/0.02337, allocations: 142.7 kB / 0.6296 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.02342, allocations: 19.91 kB / 0.6296 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.02478, allocations: 0.5246 MB / 0.6302 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.02479, allocations: 4 kB / 0.6302 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.02479, allocations: 3.938 kB / 0.6302 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.0248, allocations: 4 kB / 0.6302 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.02513, allocations: 233 kB / 0.6304 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.02513, allocations: 0 / 0.6304 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.0255, allocations: 99.84 kB / 0.6305 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.02551, allocations: 4 kB / 0.6305 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.02553, allocations: 7.984 kB / 0.6305 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.02554, allocations: 4 kB / 0.6305 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.02554, allocations: 3.938 kB / 0.6305 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.02674, allocations: 496.3 kB / 0.631 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.02678, allocations: 23.83 kB / 0.631 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.02682, allocations: 11.98 kB / 0.631 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.02701, allocations: 39.97 kB / 0.631 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.02729, allocations: 127.6 kB / 0.6312 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.02732, allocations: 15.98 kB / 0.6312 GB, free: 7.422 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.87e-05/0.0274, allocations: 102 kB / 0.6313 GB, free: 7.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.0274, allocations: 0 / 0.6313 GB, free: 7.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004179/0.02781, allocations: 119.7 kB / 0.6314 GB, free: 7.207 MB / 0.545 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.0004065/0.02822, allocations: 194.9 kB / 0.6316 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.02942, allocations: 463.4 kB / 0.632 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02942, allocations: 0 / 0.632 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.03001, allocations: 243.7 kB / 0.6323 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.03044, allocations: 69.97 kB / 0.6323 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/0.03123, allocations: 410.4 kB / 0.6327 GB, free: 5.824 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.03136, allocations: 130.4 kB / 0.6328 GB, free: 5.676 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003999/0.03176, allocations: 174.9 kB / 0.633 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.03187, allocations: 40.47 kB / 0.633 GB, free: 5.484 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.03187, allocations: 0 / 0.633 GB, free: 5.484 MB / 0.545 GB Notification: Performance of Templates: time 0.01112/0.04299, allocations: 5.486 MB / 0.6384 GB, free: 144 kB / 0.545 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.62122281268239] Failed to read output from testmodel.py, exit status != 0: 0.05250273272395134 0.06730501 0.054320986 Calling exit ...