Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.0009392/0.0009392, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0009652/0.0009652, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9333/0.9333, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5623/0.5623, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.252e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004249/0.004272, allocations: 3.893 MB / 0.558 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.006183, allocations: 2.227 MB / 0.5602 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.006288, allocations: 7.938 kB / 0.5602 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.00656, allocations: 43.69 kB / 0.5603 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.006818, allocations: 99.28 kB / 0.5604 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.007926, allocations: 0.5688 MB / 0.5609 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.008204, allocations: 267.7 kB / 0.5612 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.008255, allocations: 5.812 kB / 0.5612 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.00848, allocations: 155.5 kB / 0.5613 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.008596, allocations: 83.75 kB / 0.5614 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.008618, allocations: 8 kB / 0.5614 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006339/0.009252, allocations: 403 kB / 0.5618 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.009332, allocations: 47.81 kB / 0.5618 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.009393, allocations: 63.89 kB / 0.5619 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.009893, allocations: 438.8 kB / 0.5623 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.009897, allocations: 0 / 0.5623 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.484e-06/0.009899, allocations: 3.984 kB / 0.5623 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.009904, allocations: 0 / 0.5623 GB, free: 10.41 MB / 0.5261 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.0006594/0.01056, allocations: 449.4 kB / 0.5627 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.01061, allocations: 12.62 kB / 0.5628 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.01065, allocations: 50.73 kB / 0.5628 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.01168, allocations: 196.5 kB / 0.563 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.01195, allocations: 153.5 kB / 0.5631 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.01197, allocations: 16.7 kB / 0.5632 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.012, allocations: 16.38 kB / 0.5632 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.0125, allocations: 0.4907 MB / 0.5637 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.01252, allocations: 4.125 kB / 0.5637 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.01254, allocations: 15.94 kB / 0.5637 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.01257, allocations: 8 kB / 0.5637 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.01298, allocations: 255.6 kB / 0.5639 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01404, allocations: 1.192 MB / 0.5651 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.01462, allocations: 186.4 kB / 0.5653 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.01475, allocations: 76.75 kB / 0.5653 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.01477, allocations: 0 / 0.5653 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.0148, allocations: 38.56 kB / 0.5654 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.01481, allocations: 0 / 0.5654 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0005023/0.01531, allocations: 251.5 kB / 0.5656 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.01534, allocations: 51.41 kB / 0.5657 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.01546, allocations: 172.1 kB / 0.5658 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.01548, allocations: 25.7 kB / 0.5659 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.01554, allocations: 136.2 kB / 0.566 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.01558, allocations: 63.44 kB / 0.566 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.01565, allocations: 49.92 kB / 0.5661 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.01573, allocations: 326.8 kB / 0.5664 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.01585, allocations: 64.42 kB / 0.5665 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.016, allocations: 142.2 kB / 0.5666 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.01629, allocations: 215.1 kB / 0.5668 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.0163, allocations: 0 / 0.5668 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003597/0.01666, allocations: 257.1 kB / 0.5671 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01667, allocations: 10.19 kB / 0.5671 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.01668, allocations: 3.984 kB / 0.5671 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.0167, allocations: 4.312 kB / 0.5671 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.0169, allocations: 71.89 kB / 0.5671 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.01691, allocations: 4 kB / 0.5671 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.01704, allocations: 31.83 kB / 0.5672 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.01705, allocations: 8 kB / 0.5672 GB, free: 5.066 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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 9.752e-05/0.01715, allocations: 133.7 kB / 0.5673 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.01719, allocations: 23.83 kB / 0.5673 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.01759, allocations: 229 kB / 0.5675 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01759, allocations: 4 kB / 0.5676 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.0176, allocations: 7.938 kB / 0.5676 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.0176, allocations: 3.984 kB / 0.5676 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.0178, allocations: 200.6 kB / 0.5678 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.0178, allocations: 11.86 kB / 0.5678 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.01796, allocations: 47.97 kB / 0.5678 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.01796, allocations: 4 kB / 0.5678 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.01798, allocations: 3.984 kB / 0.5678 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01798, allocations: 0 / 0.5678 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01798, allocations: 0 / 0.5678 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.01831, allocations: 299.3 kB / 0.5681 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.01838, allocations: 35.75 kB / 0.5681 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.0184, allocations: 4 kB / 0.5681 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.01854, allocations: 15.98 kB / 0.5682 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.01856, allocations: 11.97 kB / 0.5682 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.01858, allocations: 12 kB / 0.5682 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.768e-05/0.01864, allocations: 114.7 kB / 0.5683 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01864, allocations: 4 kB / 0.5683 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002668/0.0189, allocations: 63.94 kB / 0.5684 GB, free: 3.789 MB / 0.5261 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0006482/0.01955, allocations: 0.8668 MB / 0.5692 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.01988, allocations: 167.8 kB / 0.5694 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01988, allocations: 0.625 kB / 0.5694 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.02001, allocations: 87.88 kB / 0.5694 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.02035, allocations: 55.94 kB / 0.5695 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.02249, allocations: 2.137 MB / 0.5716 GB, free: 320 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.405e-05/0.02257, allocations: 103.1 kB / 0.5717 GB, free: 200 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002219/0.0228, allocations: 49.92 kB / 0.5717 GB, free: 144 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.0229, allocations: 56.41 kB / 0.5718 GB, free: 88 kB / 0.5261 GB Notification: Performance of SimCode: time 1.993e-06/0.0229, allocations: 0 / 0.5718 GB, free: 88 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.04592, allocations: 6.178 MB / 0.5778 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/7.287, allocations: 5.078 kB / 0.5778 GB, free: 10.21 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.90147291496396] Failed to read output from testmodel.py, exit status != 0: 7.368238551542163 7.378869907 7.366844209 Calling exit ...