Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.6 MB / 248.5 MB, free: 3.59 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002319/0.002319, allocations: 273.6 kB / 303.6 MB, free: 3.75 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9952/0.9952, allocations: 180.9 MB / 0.5268 GB, free: 2.668 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00303/0.00303, allocations: 99.84 kB / 0.726 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.5012, allocations: 94.15 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01358/0.5147, allocations: 13.03 MB / 0.8306 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003092/0.5178, allocations: 2.664 MB / 0.8332 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.518, allocations: 3.938 kB / 0.8332 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.5182, allocations: 58.59 kB / 0.8333 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.5185, allocations: 92.5 kB / 0.8334 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.5198, allocations: 0.5202 MB / 0.8339 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.5201, allocations: 241.9 kB / 0.8341 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.5202, allocations: 11 kB / 0.8341 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009286/0.5295, allocations: 3.574 MB / 0.8376 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.5297, allocations: 96.56 kB / 0.8377 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.5297, allocations: 9.156 kB / 0.8377 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.5324, allocations: 1.083 MB / 0.8388 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.092e-05/0.5325, allocations: 40.55 kB / 0.8388 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.5326, allocations: 85.88 kB / 0.8389 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008018/0.5334, allocations: 368.1 kB / 0.8393 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5334, allocations: 0 / 0.8393 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5334, allocations: 0 / 0.8393 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.5334, allocations: 0 / 0.8393 GB, free: 10.04 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.0007859/0.5342, allocations: 0.5041 MB / 0.8397 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.5343, allocations: 7.875 kB / 0.8398 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.5344, allocations: 27.92 kB / 0.8398 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.5348, allocations: 223 kB / 0.84 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.5348, allocations: 11.95 kB / 0.84 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.5348, allocations: 14.22 kB / 0.84 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.5352, allocations: 253.9 kB / 0.8403 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5352, allocations: 1.438 kB / 0.8403 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.5353, allocations: 10.52 kB / 0.8403 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.5353, allocations: 6.938 kB / 0.8403 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.5358, allocations: 433.5 kB / 0.8407 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.5371, allocations: 0.9637 MB / 0.8416 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.5374, allocations: 147.7 kB / 0.8418 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.5375, allocations: 55.94 kB / 0.8418 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001638/0.5392, allocations: 1.832 MB / 0.8436 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.5392, allocations: 41.64 kB / 0.8437 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.5392, allocations: 0 / 0.8437 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003652/0.5396, allocations: 145.4 kB / 0.8438 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.5397, allocations: 57.25 kB / 0.8438 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.5398, allocations: 175.8 kB / 0.844 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.5399, allocations: 31.83 kB / 0.844 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.54, allocations: 138 kB / 0.8442 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.54, allocations: 62.62 kB / 0.8442 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.513e-05/0.5401, allocations: 49.58 kB / 0.8443 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5402, allocations: 327.6 kB / 0.8446 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.5403, allocations: 33.75 kB / 0.8446 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.5405, allocations: 143.7 kB / 0.8448 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.5407, allocations: 194.9 kB / 0.8449 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5407, allocations: 1.562 kB / 0.845 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003912/0.5411, allocations: 220.7 kB / 0.8452 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5411, allocations: 7.234 kB / 0.8452 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5412, allocations: 3.594 kB / 0.8452 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.5412, allocations: 5.156 kB / 0.8452 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.5414, allocations: 58.91 kB / 0.8452 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.5414, allocations: 6.312 kB / 0.8452 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.5415, allocations: 32.73 kB / 0.8453 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.5416, allocations: 11.34 kB / 0.8453 GB, free: 4.793 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 0.0001355/0.5417, allocations: 135.4 kB / 0.8454 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.5417, allocations: 17.38 kB / 0.8454 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.5421, allocations: 155.4 kB / 0.8456 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.5421, allocations: 6.094 kB / 0.8456 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5421, allocations: 1.297 kB / 0.8456 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5421, allocations: 1.078 kB / 0.8456 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.5424, allocations: 224.1 kB / 0.8458 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5424, allocations: 1.297 kB / 0.8458 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.5425, allocations: 25.39 kB / 0.8458 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5425, allocations: 5.688 kB / 0.8458 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.5425, allocations: 6.188 kB / 0.8458 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.5425, allocations: 4.969 kB / 0.8458 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5425, allocations: 0.5312 kB / 0.8458 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.5429, allocations: 222.5 kB / 0.8461 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.543, allocations: 109 kB / 0.8462 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.543, allocations: 9.188 kB / 0.8462 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.5432, allocations: 18.91 kB / 0.8462 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.5432, allocations: 9.109 kB / 0.8462 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.5433, allocations: 12.81 kB / 0.8462 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001194/0.5434, allocations: 119.9 kB / 0.8463 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5434, allocations: 0 / 0.8463 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004388/0.5438, allocations: 75.98 kB / 0.8464 GB, free: 3.938 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.0003544/0.5442, allocations: 197.7 kB / 0.8466 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.5444, allocations: 113.9 kB / 0.8467 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5444, allocations: 1.219 kB / 0.8467 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.041e-05/0.5445, allocations: 42.59 kB / 0.8467 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.5449, allocations: 54.22 kB / 0.8468 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.5456, allocations: 375.2 kB / 0.8471 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.546, allocations: 0.714 MB / 0.8478 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.546, allocations: 25.44 kB / 0.8479 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.546, allocations: 1.094 kB / 0.8479 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of Templates: time 0.006009/0.552, allocations: 3.453 MB / 0.8512 GB, free: 2.125 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.326652780873701] Failed to read output from testmodel.py, exit status != 0: 0.559701720951125 0.5718097249999999 0.03568422 Calling exit ...