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.0007797/0.0007797, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0007711/0.0007711, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8734/0.8734, allocations: 177.1 MB / 203.5 MB, free: 5.723 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-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 0.7223/0.7223, allocations: 154.5 MB / 414.5 MB, free: 0.8398 MB / 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.182e-06/1.182e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.55e-05, allocations: 3.812 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.003851/0.003866, allocations: 4.497 MB / 0.6237 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.005383, allocations: 2.453 MB / 0.6261 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.005439, allocations: 3.938 kB / 0.6261 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.005629, allocations: 43.69 kB / 0.6261 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.005805, allocations: 111.2 kB / 0.6262 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.006401, allocations: 0.5276 MB / 0.6267 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.006559, allocations: 235.8 kB / 0.627 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 2.999e-05/0.006589, allocations: 17.73 kB / 0.627 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.006735, allocations: 159.6 kB / 0.6271 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.006823, allocations: 75.77 kB / 0.6272 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.006841, allocations: 11.94 kB / 0.6272 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005651/0.007406, allocations: 319.1 kB / 0.6275 GB, free: 4.754 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.00746, allocations: 39.88 kB / 0.6276 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.007507, allocations: 63.89 kB / 0.6276 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.007867, allocations: 382.8 kB / 0.628 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.00787, allocations: 4 kB / 0.628 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.31e-07/0.007871, allocations: 0 / 0.628 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.007874, allocations: 4 kB / 0.628 GB, free: 4.27 MB / 0.5886 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.000493/0.008367, allocations: 437.5 kB / 0.6284 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.008397, allocations: 13.45 kB / 0.6284 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.023e-05/0.008487, allocations: 24.84 kB / 0.6285 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.008649, allocations: 161.5 kB / 0.6286 GB, free: 3.59 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.008661, allocations: 16.69 kB / 0.6286 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.008675, allocations: 12.38 kB / 0.6286 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.008978, allocations: 485 kB / 0.6291 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.008986, allocations: 4.125 kB / 0.6291 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.009003, allocations: 12.12 kB / 0.6291 GB, free: 3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.009022, allocations: 12 kB / 0.6291 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.009306, allocations: 423.3 kB / 0.6295 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.009955, allocations: 0.7702 MB / 0.6303 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.01017, allocations: 158.2 kB / 0.6304 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.01023, allocations: 56.78 kB / 0.6305 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/0.01063, allocations: 455.8 kB / 0.6309 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.01065, allocations: 34.56 kB / 0.631 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.01065, allocations: 0 / 0.631 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0002208/0.01087, allocations: 137.6 kB / 0.6311 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.0109, allocations: 59.34 kB / 0.6311 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.01099, allocations: 162.4 kB / 0.6313 GB, free: 0.6523 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.011, allocations: 25.7 kB / 0.6313 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.01106, allocations: 148 kB / 0.6315 GB, free: 484 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.01108, allocations: 55.58 kB / 0.6315 GB, free: 428 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.01113, allocations: 49.66 kB / 0.6316 GB, free: 372 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.0112, allocations: 334.8 kB / 0.6319 GB, free: 28 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.01125, allocations: 32.03 kB / 0.6319 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-05/0.01134, allocations: 141.5 kB / 0.632 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.01148, allocations: 203.9 kB / 0.6322 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01148, allocations: 0 / 0.6322 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001961/0.01168, allocations: 213.3 kB / 0.6324 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.01169, allocations: 8 kB / 0.6325 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.0117, allocations: 4 kB / 0.6325 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.01171, allocations: 4 kB / 0.6325 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.01182, allocations: 67.84 kB / 0.6325 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.01182, allocations: 11.94 kB / 0.6325 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.01188, allocations: 23.84 kB / 0.6326 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.01189, allocations: 8.312 kB / 0.6326 GB, free: 15.22 MB / 0.6042 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.161e-05/0.01196, allocations: 149.6 kB / 0.6327 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.01199, allocations: 11.95 kB / 0.6327 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.01216, allocations: 146.3 kB / 0.6329 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.01217, allocations: 4 kB / 0.6329 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.01217, allocations: 0 / 0.6329 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01218, allocations: 0 / 0.6329 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.0123, allocations: 149.2 kB / 0.633 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.0123, allocations: 3.984 kB / 0.633 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.01236, allocations: 31.92 kB / 0.633 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.01236, allocations: 0 / 0.633 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.01236, allocations: 12 kB / 0.6331 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01237, allocations: 0 / 0.6331 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01237, allocations: 0 / 0.6331 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.01251, allocations: 226.5 kB / 0.6333 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.01255, allocations: 35.8 kB / 0.6333 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.01256, allocations: 0 / 0.6333 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.01265, allocations: 15.98 kB / 0.6333 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.01267, allocations: 11.92 kB / 0.6333 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01269, allocations: 12 kB / 0.6333 GB, free: 14.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.01273, allocations: 114.3 kB / 0.6335 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01273, allocations: 4 kB / 0.6335 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002282/0.01296, allocations: 79.84 kB / 0.6335 GB, free: 14.18 MB / 0.6042 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.0001878/0.01315, allocations: 183 kB / 0.6337 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.0133, allocations: 120 kB / 0.6338 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.0133, allocations: 4 kB / 0.6338 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-05/0.01334, allocations: 39.92 kB / 0.6339 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.01357, allocations: 48.03 kB / 0.6339 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.014, allocations: 332.8 kB / 0.6342 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.01429, allocations: 102.8 kB / 0.6343 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.01433, allocations: 32.5 kB / 0.6344 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.01433, allocations: 0 / 0.6344 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.003002/0.01733, allocations: 3.152 MB / 0.6374 GB, free: 10.14 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.470055372454226] Failed to read output from testmodel.py, exit status != 0: 0.02130881790071726 0.028929857000000003 0.019605427 Calling exit ...