Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.001483/0.001483, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001628/0.001628, allocations: 189.8 kB / 22.85 MB, free: 5.648 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.387/1.387, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.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.002481/0.002481, allocations: 281.3 kB / 307 MB, free: 8.359 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 1.164/1.164, allocations: 180.8 MB / 0.5304 GB, free: 14.53 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.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 101 kB / 0.731 GB, free: 38.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.143, allocations: 94.2 MB / 0.823 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002265/0.1452, allocations: 1.27 MB / 0.8243 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003802/0.149, allocations: 2.955 MB / 0.8272 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.207e-05/0.149, allocations: 4 kB / 0.8272 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.1491, allocations: 7.922 kB / 0.8272 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.1491, allocations: 7.922 kB / 0.8272 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.1496, allocations: 103.6 kB / 0.8273 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.1496, allocations: 35.86 kB / 0.8273 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.1497, allocations: 4 kB / 0.8273 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005105/0.1502, allocations: 187.4 kB / 0.8275 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.1502, allocations: 19.92 kB / 0.8275 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1502, allocations: 0 / 0.8275 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1504, allocations: 51.84 kB / 0.8276 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.1504, allocations: 15.97 kB / 0.8276 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.1504, allocations: 11.94 kB / 0.8276 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1506, allocations: 63.8 kB / 0.8277 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1506, allocations: 0 / 0.8277 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1506, allocations: 0 / 0.8277 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.1506, allocations: 0 / 0.8277 GB, free: 13.31 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004137/0.151, allocations: 282.2 kB / 0.8279 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.151, allocations: 8.031 kB / 0.8279 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.1511, allocations: 4.938 kB / 0.8279 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1512, allocations: 106.5 kB / 0.828 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1512, allocations: 384 / 0.828 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.1512, allocations: 8.375 kB / 0.828 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.1513, allocations: 57.73 kB / 0.8281 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1513, allocations: 0 / 0.8281 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1514, allocations: 11.94 kB / 0.8281 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1514, allocations: 0 / 0.8281 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.1514, allocations: 23.91 kB / 0.8281 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.1516, allocations: 140.6 kB / 0.8283 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.313e-05/0.1517, allocations: 54.56 kB / 0.8283 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.1517, allocations: 16.78 kB / 0.8283 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005353/0.1523, allocations: 242.1 kB / 0.8286 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1523, allocations: 38.56 kB / 0.8286 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1523, allocations: 4 kB / 0.8286 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005358/0.1528, allocations: 221.1 kB / 0.8288 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1529, allocations: 55.41 kB / 0.8289 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.1529, allocations: 101.8 kB / 0.829 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.153, allocations: 29.7 kB / 0.829 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.153, allocations: 84.09 kB / 0.8291 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.153, allocations: 31.73 kB / 0.8291 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.1531, allocations: 29.72 kB / 0.8291 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1532, allocations: 314.8 kB / 0.8294 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/0.1532, allocations: 15.98 kB / 0.8295 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.1533, allocations: 57.08 kB / 0.8295 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.1534, allocations: 77.09 kB / 0.8296 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1534, allocations: 0 / 0.8296 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001355/0.1535, allocations: 89.55 kB / 0.8297 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1536, allocations: 4 kB / 0.8297 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1536, allocations: 7.938 kB / 0.8297 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1536, allocations: 4.125 kB / 0.8297 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.66e-05/0.1537, allocations: 27.92 kB / 0.8297 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1537, allocations: 0 / 0.8297 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.1537, allocations: 7.938 kB / 0.8297 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1537, allocations: 4 kB / 0.8297 GB, free: 10.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 7.841e-05/0.1538, allocations: 114.5 kB / 0.8298 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.1538, allocations: 7.953 kB / 0.8298 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.1538, allocations: 12.05 kB / 0.8298 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1538, allocations: 0 / 0.8298 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1538, allocations: 8 kB / 0.8299 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1538, allocations: 3.938 kB / 0.8299 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.1541, allocations: 144.8 kB / 0.83 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1541, allocations: 0 / 0.83 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.893e-05/0.1542, allocations: 19.94 kB / 0.83 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1542, allocations: 448 / 0.83 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.1542, allocations: 0 / 0.83 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.1542, allocations: 7.984 kB / 0.83 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1542, allocations: 4 kB / 0.83 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.1544, allocations: 175.4 kB / 0.8302 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.1544, allocations: 8.031 kB / 0.8302 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.1544, allocations: 0 / 0.8302 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1545, allocations: 8 kB / 0.8302 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.1545, allocations: 3.984 kB / 0.8302 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1546, allocations: 7.938 kB / 0.8302 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.1546, allocations: 75.66 kB / 0.8303 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1546, allocations: 0 / 0.8303 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002316/0.1548, allocations: 19.94 kB / 0.8303 GB, free: 10.26 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001042/0.1549, allocations: 99.39 kB / 0.8304 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.155, allocations: 55.88 kB / 0.8305 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.155, allocations: 0 / 0.8305 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.1551, allocations: 12 kB / 0.8305 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.1553, allocations: 4.938 kB / 0.8305 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005421/0.1559, allocations: 330.9 kB / 0.8308 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.1561, allocations: 0.6845 MB / 0.8315 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.1562, allocations: 7.984 kB / 0.8315 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.1562, allocations: 19.38 kB / 0.8315 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1562, allocations: 0 / 0.8315 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of Templates: time 0.003093/0.1593, allocations: 0.6846 MB / 0.8322 GB, free: 8.309 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6355613179985085] Failed to read output from testmodel.py, exit status != 0: 0.1661398190044565 0.18041553499999996 0.02691877 Calling exit ...