Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.001108/0.001108, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001325/0.001325, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.046/1.046, allocations: 177.1 MB / 204.5 MB, free: 5.508 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-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 0.7853/0.7853, allocations: 154.6 MB / 415.6 MB, free: 0.5117 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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.5215 GB, free: 1.984 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.018e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.98 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.00202/0.002051, allocations: 1.296 MB / 0.5227 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.004654, allocations: 3.341 MB / 0.526 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.004681, allocations: 0 / 0.526 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.004696, allocations: 5.094 kB / 0.526 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.901e-05/0.004735, allocations: 3.938 kB / 0.526 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.005125, allocations: 113.4 kB / 0.5261 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.149e-05/0.005187, allocations: 43.84 kB / 0.5262 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.005218, allocations: 3.984 kB / 0.5262 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.736e-05/0.005265, allocations: 27.91 kB / 0.5262 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.005314, allocations: 12.7 kB / 0.5262 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.005322, allocations: 0.625 kB / 0.5262 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.005459, allocations: 71.75 kB / 0.5263 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.005471, allocations: 4.984 kB / 0.5263 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.00549, allocations: 15.98 kB / 0.5263 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.005619, allocations: 72.34 kB / 0.5264 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.005623, allocations: 4 kB / 0.5264 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005623, allocations: 0.75 kB / 0.5264 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.005628, allocations: 0 / 0.5264 GB, free: 12.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002807/0.005908, allocations: 367.5 kB / 0.5267 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.005941, allocations: 8.031 kB / 0.5267 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.668e-05/0.006027, allocations: 21.16 kB / 0.5268 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.318e-05/0.00609, allocations: 112.6 kB / 0.5269 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.006101, allocations: 8.375 kB / 0.5269 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.006116, allocations: 4.375 kB / 0.5269 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.122e-05/0.006207, allocations: 127.3 kB / 0.527 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-06/0.006212, allocations: 1.094 kB / 0.527 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.006219, allocations: 4.125 kB / 0.527 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-06/0.006222, allocations: 4 kB / 0.527 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.512e-05/0.006247, allocations: 12.52 kB / 0.527 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.286e-05/0.00634, allocations: 110.9 kB / 0.5271 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.883e-05/0.006399, allocations: 59.05 kB / 0.5272 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.006418, allocations: 23.81 kB / 0.5272 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003417/0.00676, allocations: 284.6 kB / 0.5275 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.006782, allocations: 38.89 kB / 0.5275 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.006783, allocations: 0 / 0.5275 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003281/0.007111, allocations: 229.6 kB / 0.5277 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.007138, allocations: 62.09 kB / 0.5278 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.35e-05/0.007201, allocations: 157.9 kB / 0.5279 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.007212, allocations: 25.7 kB / 0.528 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.007251, allocations: 134.8 kB / 0.5281 GB, free: 11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.007267, allocations: 31.72 kB / 0.5281 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.007296, allocations: 31.36 kB / 0.5281 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002508/0.007547, allocations: 496.1 kB / 0.5286 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.007559, allocations: 14.14 kB / 0.5286 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.007596, allocations: 66.09 kB / 0.5287 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.606e-05/0.007662, allocations: 75.09 kB / 0.5288 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007663, allocations: 0 / 0.5288 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.953e-05/0.007753, allocations: 98.17 kB / 0.5289 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.007764, allocations: 4.656 kB / 0.5289 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.00777, allocations: 7.375 kB / 0.5289 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.954e-06/0.007777, allocations: 0 / 0.5289 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.911e-05/0.007826, allocations: 23.98 kB / 0.5289 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007828, allocations: 4 kB / 0.5289 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.007848, allocations: 0 / 0.5289 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.007852, allocations: 4 kB / 0.5289 GB, free: 10.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.118e-05/0.007913, allocations: 168.5 kB / 0.5291 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.007933, allocations: 7.938 kB / 0.5291 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.007955, allocations: 12.11 kB / 0.5291 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.007957, allocations: 7.469 kB / 0.5291 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007959, allocations: 0 / 0.5291 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.007961, allocations: 0 / 0.5291 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.008092, allocations: 113.2 kB / 0.5292 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.008093, allocations: 0 / 0.5292 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.008138, allocations: 16 kB / 0.5292 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.008141, allocations: 7.922 kB / 0.5292 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.008146, allocations: 3.938 kB / 0.5292 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.008146, allocations: 2.812 kB / 0.5292 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.008147, allocations: 0 / 0.5292 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.008277, allocations: 219.8 kB / 0.5294 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.008297, allocations: 7.984 kB / 0.5294 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-06/0.008306, allocations: 3.938 kB / 0.5295 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.382e-05/0.00835, allocations: 4 kB / 0.5295 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.008363, allocations: 7.984 kB / 0.5295 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.00837, allocations: 6.438 kB / 0.5295 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.008398, allocations: 119.2 kB / 0.5296 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008398, allocations: 0 / 0.5296 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001547/0.008553, allocations: 16 kB / 0.5296 GB, free: 9.328 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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 9.354e-05/0.008646, allocations: 96.22 kB / 0.5297 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.932e-05/0.008715, allocations: 49.86 kB / 0.5297 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.008717, allocations: 0 / 0.5297 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.008733, allocations: 27.67 kB / 0.5298 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.008896, allocations: 4 kB / 0.5298 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.009375, allocations: 272 kB / 0.53 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.202e-05/0.009407, allocations: 63.28 kB / 0.5301 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.009437, allocations: 7 kB / 0.5301 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.009495, allocations: 88.41 kB / 0.5302 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.009496, allocations: 0 / 0.5302 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of Templates: time 0.002145/0.01164, allocations: 0.7119 MB / 0.5309 GB, free: 8.062 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7650517257861793]