Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001476/0.001476, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.001616/0.001616, allocations: 159.9 kB / 23.01 MB, free: 4.941 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.334/1.334, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002321/0.002321, allocations: 238 kB / 260 MB, free: 444 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8811/0.8811, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002923/0.002923, allocations: 103.8 kB / 0.6474 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3833, allocations: 95.34 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.004844/0.3882, allocations: 4.517 MB / 0.7449 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.3903, allocations: 2.447 MB / 0.7473 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.3904, allocations: 4.812 kB / 0.7473 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.3906, allocations: 46.77 kB / 0.7473 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.3909, allocations: 103.5 kB / 0.7474 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.392, allocations: 0.5246 MB / 0.7479 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.3922, allocations: 236.8 kB / 0.7482 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.3922, allocations: 12.05 kB / 0.7482 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.3924, allocations: 125.9 kB / 0.7483 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.3926, allocations: 85.61 kB / 0.7484 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.3926, allocations: 7.844 kB / 0.7484 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.3931, allocations: 312.5 kB / 0.7487 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.3932, allocations: 38.73 kB / 0.7487 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.3933, allocations: 70.5 kB / 0.7488 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.3938, allocations: 355.4 kB / 0.7491 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3938, allocations: 0 / 0.7491 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3938, allocations: 5.156 kB / 0.7491 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3938, allocations: 0 / 0.7491 GB, free: 11.82 MB / 0.5919 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.0005888/0.3944, allocations: 451.4 kB / 0.7496 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.3944, allocations: 11.59 kB / 0.7496 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.3946, allocations: 24.03 kB / 0.7496 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.3948, allocations: 157.9 kB / 0.7498 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3948, allocations: 10.92 kB / 0.7498 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3948, allocations: 14.16 kB / 0.7498 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.3952, allocations: 488.1 kB / 0.7502 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3952, allocations: 5.125 kB / 0.7502 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.3952, allocations: 7.281 kB / 0.7503 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.3952, allocations: 6.234 kB / 0.7503 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.3956, allocations: 425.8 kB / 0.7507 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000842/0.3965, allocations: 0.7688 MB / 0.7514 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.3967, allocations: 160.3 kB / 0.7516 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.3968, allocations: 51.14 kB / 0.7516 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/0.3974, allocations: 448.5 kB / 0.752 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.3974, allocations: 38.16 kB / 0.7521 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.3974, allocations: 1.594 kB / 0.7521 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0002847/0.3977, allocations: 144.9 kB / 0.7522 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.3977, allocations: 53.61 kB / 0.7523 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/0.3978, allocations: 172 kB / 0.7524 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3979, allocations: 31.23 kB / 0.7525 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.3979, allocations: 142.7 kB / 0.7526 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.3979, allocations: 52.09 kB / 0.7527 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.398, allocations: 60.72 kB / 0.7527 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.398, allocations: 327.1 kB / 0.753 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.3981, allocations: 34.08 kB / 0.7531 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.643e-05/0.3982, allocations: 140 kB / 0.7532 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.3984, allocations: 209.7 kB / 0.7534 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3984, allocations: 1.125 kB / 0.7534 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002813/0.3986, allocations: 212.4 kB / 0.7536 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3987, allocations: 7.062 kB / 0.7536 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3987, allocations: 3.625 kB / 0.7536 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3987, allocations: 5.312 kB / 0.7536 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.3989, allocations: 59.66 kB / 0.7537 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3989, allocations: 14.3 kB / 0.7537 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.399, allocations: 36.17 kB / 0.7537 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.399, allocations: 19.08 kB / 0.7537 GB, free: 8.383 MB / 0.5919 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.208e-05/0.3991, allocations: 128 kB / 0.7539 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.3991, allocations: 12.05 kB / 0.7539 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.3994, allocations: 158 kB / 0.754 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3994, allocations: 1.344 kB / 0.754 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3994, allocations: 4.734 kB / 0.754 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3994, allocations: 1.906 kB / 0.754 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3995, allocations: 155.3 kB / 0.7542 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3995, allocations: 0.7031 kB / 0.7542 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.3996, allocations: 34.33 kB / 0.7542 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3997, allocations: 1.562 kB / 0.7542 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3997, allocations: 2.016 kB / 0.7542 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3997, allocations: 1.953 kB / 0.7542 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3997, allocations: 0 / 0.7542 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.3999, allocations: 230.1 kB / 0.7544 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.3999, allocations: 30.09 kB / 0.7545 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3999, allocations: 6.141 kB / 0.7545 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.4001, allocations: 11.02 kB / 0.7545 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.4002, allocations: 12.88 kB / 0.7545 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.4002, allocations: 18 kB / 0.7545 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.4002, allocations: 110.8 kB / 0.7546 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4002, allocations: 0 / 0.7546 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003758/0.4006, allocations: 85.95 kB / 0.7547 GB, free: 7.695 MB / 0.5919 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.0002362/0.4008, allocations: 179.2 kB / 0.7549 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.4011, allocations: 112.6 kB / 0.755 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4011, allocations: 0 / 0.755 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.524e-05/0.4011, allocations: 46.91 kB / 0.755 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.4015, allocations: 41.81 kB / 0.7551 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.402, allocations: 332.5 kB / 0.7554 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.892e-05/0.4021, allocations: 110.2 kB / 0.7555 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.4022, allocations: 47.31 kB / 0.7555 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.4022, allocations: 26.02 kB / 0.7555 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.4022, allocations: 0 / 0.7555 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of Templates: time 0.006102/0.4083, allocations: 3.14 MB / 0.7586 GB, free: 6.164 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5790672530420125] Failed to read output from testmodel.py, exit status != 0: 0.4151669900165871 0.426121029 0.029613613 Calling exit ...