Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.0008286/0.0008286, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.0009794/0.0009794, allocations: 173 kB / 24.06 MB, free: 452 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.012/1.012, allocations: 177.1 MB / 204.5 MB, free: 5.004 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8061/0.8061, allocations: 154.9 MB / 415.9 MB, free: 224 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 179] 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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0.5469 kB / 0.5219 GB, free: 1.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.001e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.00405/0.00407, allocations: 4.836 MB / 0.5266 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001991/0.006061, allocations: 2.806 MB / 0.5294 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.278e-05/0.006124, allocations: 7.938 kB / 0.5294 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.006344, allocations: 43.69 kB / 0.5294 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.006521, allocations: 106.3 kB / 0.5295 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.00717, allocations: 0.5686 MB / 0.5301 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.007346, allocations: 243.8 kB / 0.5303 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.00738, allocations: 13.8 kB / 0.5303 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.007536, allocations: 167.5 kB / 0.5305 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.00763, allocations: 78.2 kB / 0.5306 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.007649, allocations: 8 kB / 0.5306 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.007991, allocations: 327.1 kB / 0.5309 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.008046, allocations: 39.88 kB / 0.5309 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.008097, allocations: 63.89 kB / 0.531 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.008448, allocations: 358.8 kB / 0.5313 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.008451, allocations: 5.422 kB / 0.5313 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.81e-07/0.008451, allocations: 0 / 0.5313 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.008455, allocations: 0 / 0.5313 GB, free: 7.844 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004821/0.008937, allocations: 0.5387 MB / 0.5319 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.008965, allocations: 9.062 kB / 0.5319 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.009077, allocations: 44.7 kB / 0.5319 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.009225, allocations: 161.5 kB / 0.5321 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.009237, allocations: 16.7 kB / 0.5321 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.009257, allocations: 16.38 kB / 0.5321 GB, free: 7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.009487, allocations: 419.7 kB / 0.5325 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.009495, allocations: 192 / 0.5325 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.009511, allocations: 12.12 kB / 0.5325 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.009534, allocations: 7.938 kB / 0.5325 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.009721, allocations: 254 kB / 0.5328 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.01036, allocations: 0.968 MB / 0.5337 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.01051, allocations: 131.2 kB / 0.5338 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.01055, allocations: 41.72 kB / 0.5339 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/0.01095, allocations: 0.5347 MB / 0.5344 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.01097, allocations: 41.38 kB / 0.5344 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.01097, allocations: 1.406 kB / 0.5344 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0001809/0.01115, allocations: 120 kB / 0.5345 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.01118, allocations: 51.41 kB / 0.5346 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.471e-05/0.01126, allocations: 215 kB / 0.5348 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.01128, allocations: 29.7 kB / 0.5348 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.01134, allocations: 194.8 kB / 0.535 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.01137, allocations: 59.52 kB / 0.5351 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000321/0.01169, allocations: 56 kB / 0.5351 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.01181, allocations: 0.5006 MB / 0.5356 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.01184, allocations: 19.92 kB / 0.5356 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.01193, allocations: 172.5 kB / 0.5358 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.01208, allocations: 218.8 kB / 0.536 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01208, allocations: 7.938 kB / 0.536 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000194/0.01227, allocations: 199 kB / 0.5362 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.01229, allocations: 8 kB / 0.5362 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01229, allocations: 6.062 kB / 0.5362 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.01231, allocations: 4 kB / 0.5362 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.01241, allocations: 55.92 kB / 0.5363 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.01242, allocations: 11.92 kB / 0.5363 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.01247, allocations: 23.84 kB / 0.5363 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.01248, allocations: 12.62 kB / 0.5363 GB, free: 2.316 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.32e-05/0.01256, allocations: 181.3 kB / 0.5365 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.01259, allocations: 15.91 kB / 0.5365 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.01275, allocations: 140 kB / 0.5366 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.01275, allocations: 4 kB / 0.5366 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01275, allocations: 0 / 0.5366 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01276, allocations: 3.984 kB / 0.5366 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.01288, allocations: 145 kB / 0.5368 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01288, allocations: 5.188 kB / 0.5368 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.01294, allocations: 27.98 kB / 0.5368 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.01294, allocations: 4 kB / 0.5368 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.01294, allocations: 0.8125 kB / 0.5368 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.01294, allocations: 0 / 0.5368 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01294, allocations: 1.219 kB / 0.5368 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.01309, allocations: 257.7 kB / 0.5371 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.01313, allocations: 39.8 kB / 0.5371 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.01314, allocations: 5.281 kB / 0.5371 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.01322, allocations: 4 kB / 0.5371 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.01324, allocations: 15.97 kB / 0.5371 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.01325, allocations: 9.188 kB / 0.5371 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.01329, allocations: 150.6 kB / 0.5373 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01329, allocations: 0 / 0.5373 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002277/0.01352, allocations: 75.88 kB / 0.5373 GB, free: 1.203 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0001848/0.0137, allocations: 192.2 kB / 0.5375 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.01383, allocations: 103.2 kB / 0.5376 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01383, allocations: 4 kB / 0.5376 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.01387, allocations: 43.59 kB / 0.5377 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.01411, allocations: 41.27 kB / 0.5377 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005754/0.01468, allocations: 318 kB / 0.538 GB, free: 500 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.01472, allocations: 71.98 kB / 0.5381 GB, free: 408 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.051e-05/0.01481, allocations: 43.8 kB / 0.5381 GB, free: 368 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.01496, allocations: 154.1 kB / 0.5383 GB, free: 212 kB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.01496, allocations: 0 / 0.5383 GB, free: 212 kB / 0.4948 GB Notification: Performance of Templates: time 0.004472/0.01943, allocations: 3.481 MB / 0.5417 GB, free: 12.91 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9013322698883712]