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.0007241/0.0007241, allocations: 76.5 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.0007027/0.0007027, allocations: 174.3 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.8762/0.8762, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 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.001419/0.001419, allocations: 232.5 kB / 260.2 MB, free: 13.04 MB / 250.7 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.6701/0.6701, allocations: 138.4 MB / 455.1 MB, free: 29.98 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6475 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.735e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.2457/0.2457, allocations: 4.501 MB / 0.6519 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.2474, allocations: 2.458 MB / 0.6543 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.85e-05/0.2475, allocations: 3.938 kB / 0.6543 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.2478, allocations: 43.73 kB / 0.6544 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.248, allocations: 101.2 kB / 0.6545 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2491, allocations: 0.5313 MB / 0.655 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.2493, allocations: 244.2 kB / 0.6552 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.2494, allocations: 9.828 kB / 0.6552 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.2496, allocations: 154.8 kB / 0.6554 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.2497, allocations: 79.94 kB / 0.6555 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.2497, allocations: 8.969 kB / 0.6555 GB, free: 53.06 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004769/0.2502, allocations: 315.2 kB / 0.6558 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.272e-05/0.2503, allocations: 44.72 kB / 0.6558 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.095e-05/0.2503, allocations: 61.86 kB / 0.6559 GB, free: 52.9 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.2508, allocations: 379.8 kB / 0.6562 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2508, allocations: 2.562 kB / 0.6562 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2508, allocations: 7.781 kB / 0.6562 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2508, allocations: 1.844 kB / 0.6562 GB, free: 52.77 MB / 0.5573 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.0005601/0.2514, allocations: 449.8 kB / 0.6567 GB, free: 52.4 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2514, allocations: 10.66 kB / 0.6567 GB, free: 52.4 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.2515, allocations: 23.97 kB / 0.6567 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.2518, allocations: 154.8 kB / 0.6569 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.2518, allocations: 15.5 kB / 0.6569 GB, free: 52.24 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.2518, allocations: 14.88 kB / 0.6569 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.2521, allocations: 485.1 kB / 0.6573 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2521, allocations: 6.031 kB / 0.6574 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.2521, allocations: 14.86 kB / 0.6574 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.2522, allocations: 6.438 kB / 0.6574 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.2525, allocations: 422.4 kB / 0.6578 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/0.2532, allocations: 0.7715 MB / 0.6585 GB, free: 51.09 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.2535, allocations: 158.5 kB / 0.6587 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.2536, allocations: 50.5 kB / 0.6587 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000485/0.254, allocations: 454.5 kB / 0.6592 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.2541, allocations: 38.27 kB / 0.6592 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.2541, allocations: 0 / 0.6592 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0002578/0.2543, allocations: 138 kB / 0.6593 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.2543, allocations: 61.08 kB / 0.6594 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.2544, allocations: 167.1 kB / 0.6595 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2544, allocations: 32.8 kB / 0.6596 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.2545, allocations: 144.8 kB / 0.6597 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.2545, allocations: 50.75 kB / 0.6598 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.2546, allocations: 52.91 kB / 0.6598 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.979e-05/0.2546, allocations: 335 kB / 0.6601 GB, free: 49.83 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.904e-05/0.2547, allocations: 36.33 kB / 0.6602 GB, free: 49.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.153e-05/0.2547, allocations: 135.3 kB / 0.6603 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2549, allocations: 202 kB / 0.6605 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2549, allocations: 1.562 kB / 0.6605 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002194/0.2551, allocations: 213.9 kB / 0.6607 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2551, allocations: 6.875 kB / 0.6607 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2551, allocations: 3.031 kB / 0.6607 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2551, allocations: 6.156 kB / 0.6607 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.2553, allocations: 59.62 kB / 0.6608 GB, free: 49.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2553, allocations: 9.984 kB / 0.6608 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.2553, allocations: 27.16 kB / 0.6608 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2553, allocations: 18.89 kB / 0.6608 GB, free: 49.37 MB / 0.5573 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.187e-05/0.2554, allocations: 137 kB / 0.661 GB, free: 49.24 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.2554, allocations: 16.58 kB / 0.661 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.2557, allocations: 154.9 kB / 0.6611 GB, free: 49.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.2557, allocations: 4.594 kB / 0.6611 GB, free: 49.16 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2557, allocations: 0 / 0.6611 GB, free: 49.16 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2557, allocations: 1.125 kB / 0.6611 GB, free: 49.16 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.2558, allocations: 154.7 kB / 0.6613 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2558, allocations: 0 / 0.6613 GB, free: 49.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.2559, allocations: 35.69 kB / 0.6613 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2559, allocations: 5.688 kB / 0.6613 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-06/0.2559, allocations: 2.531 kB / 0.6613 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2559, allocations: 0 / 0.6613 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2559, allocations: 2.75 kB / 0.6613 GB, free: 49 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.256, allocations: 221.2 kB / 0.6615 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.2561, allocations: 33.56 kB / 0.6616 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.2561, allocations: 2.156 kB / 0.6616 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.2562, allocations: 15.95 kB / 0.6616 GB, free: 48.82 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.2562, allocations: 12.86 kB / 0.6616 GB, free: 48.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.2562, allocations: 20.02 kB / 0.6616 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.2563, allocations: 113.5 kB / 0.6617 GB, free: 48.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2563, allocations: 0 / 0.6617 GB, free: 48.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002911/0.2566, allocations: 80.56 kB / 0.6618 GB, free: 48.7 MB / 0.5573 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.0002656/0.2568, allocations: 177.2 kB / 0.662 GB, free: 48.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.257, allocations: 111.7 kB / 0.6621 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.257, allocations: 1.969 kB / 0.6621 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.2571, allocations: 42.19 kB / 0.6621 GB, free: 48.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.2573, allocations: 43.84 kB / 0.6622 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.2579, allocations: 339.1 kB / 0.6625 GB, free: 48.29 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.971e-05/0.2579, allocations: 106.9 kB / 0.6626 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.258, allocations: 28.92 kB / 0.6626 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.142e-06/0.258, allocations: 0 / 0.6626 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.004028/0.262, allocations: 3.177 MB / 0.6657 GB, free: 47.84 MB / 0.5573 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.568376359529793] Failed to read output from testmodel.py, exit status != 0: 0.26744889561086893 0.274378324 0.021903988000000003 Calling exit ...