Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.001327/0.001327, allocations: 105.4 kB / 16.45 MB, free: 6.035 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.001254/0.001254, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.383/1.383, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.002444/0.002444, allocations: 281.4 kB / 303 MB, free: 9.492 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.244/1.244, allocations: 180.9 MB / 0.5261 GB, free: 14.68 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: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 101.5 kB / 0.7248 GB, free: 40.06 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1616, allocations: 94.15 MB / 0.8167 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00263/0.1642, allocations: 1.278 MB / 0.8179 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003732/0.1679, allocations: 2.509 MB / 0.8204 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.168, allocations: 0 / 0.8204 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.168, allocations: 3.984 kB / 0.8204 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.357e-05/0.168, allocations: 3.938 kB / 0.8204 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006276/0.1687, allocations: 135.4 kB / 0.8205 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.925e-05/0.1688, allocations: 35.91 kB / 0.8206 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.1688, allocations: 4 kB / 0.8206 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.1689, allocations: 23.86 kB / 0.8206 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.1689, allocations: 19.91 kB / 0.8206 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1689, allocations: 0 / 0.8206 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.1693, allocations: 115.8 kB / 0.8207 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.1693, allocations: 11.98 kB / 0.8207 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.1693, allocations: 19.92 kB / 0.8208 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.1695, allocations: 84.06 kB / 0.8208 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1695, allocations: 3.938 kB / 0.8208 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1695, allocations: 0 / 0.8208 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.1696, allocations: 0 / 0.8208 GB, free: 1.211 MB / 0.5606 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.0004822/0.17, allocations: 359.2 kB / 0.8212 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1701, allocations: 12.03 kB / 0.8212 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.1701, allocations: 30.75 kB / 0.8212 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.1703, allocations: 20.92 kB / 0.8212 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.1705, allocations: 164.4 kB / 0.8214 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1705, allocations: 4.359 kB / 0.8214 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.1705, allocations: 8.328 kB / 0.8214 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1707, allocations: 76.12 kB / 0.8215 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1707, allocations: 0 / 0.8215 GB, free: 452 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1707, allocations: 8 kB / 0.8215 GB, free: 444 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1707, allocations: 4 kB / 0.8215 GB, free: 440 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.426e-05/0.1707, allocations: 4 kB / 0.8215 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.1715, allocations: 470.8 kB / 0.8219 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.1716, allocations: 75.72 kB / 0.822 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.1717, allocations: 22.72 kB / 0.822 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.1717, allocations: 0 / 0.822 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.1717, allocations: 34.56 kB / 0.8221 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.1717, allocations: 4 kB / 0.8221 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0006739/0.1724, allocations: 302.2 kB / 0.8224 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.1725, allocations: 114.7 kB / 0.8225 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.1725, allocations: 94.33 kB / 0.8226 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1726, allocations: 29.7 kB / 0.8226 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.1726, allocations: 88.09 kB / 0.8227 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1726, allocations: 31.98 kB / 0.8227 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.1727, allocations: 25.72 kB / 0.8227 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1728, allocations: 322.8 kB / 0.823 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.767e-05/0.1729, allocations: 12 kB / 0.823 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/0.1729, allocations: 53.14 kB / 0.8231 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.173, allocations: 77.11 kB / 0.8232 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.173, allocations: 0 / 0.8232 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001496/0.1732, allocations: 97.5 kB / 0.8233 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1732, allocations: 7.938 kB / 0.8233 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1732, allocations: 4.125 kB / 0.8233 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.1732, allocations: 4 kB / 0.8233 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.1733, allocations: 19.98 kB / 0.8233 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1733, allocations: 4 kB / 0.8233 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.607e-05/0.1733, allocations: 4 kB / 0.8233 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1734, allocations: 7.938 kB / 0.8233 GB, free: 14.3 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 9.129e-05/0.1734, allocations: 117.8 kB / 0.8234 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.1735, allocations: 4 kB / 0.8234 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.1735, allocations: 7.562 kB / 0.8234 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1735, allocations: 4 kB / 0.8234 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1735, allocations: 7.938 kB / 0.8234 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1735, allocations: 0 / 0.8234 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.1739, allocations: 181.6 kB / 0.8236 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1739, allocations: 4 kB / 0.8236 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.062e-05/0.174, allocations: 23.98 kB / 0.8236 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.174, allocations: 0 / 0.8236 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.174, allocations: 3.938 kB / 0.8237 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.174, allocations: 4 kB / 0.8237 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.174, allocations: 0 / 0.8237 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.1743, allocations: 333.9 kB / 0.824 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.1744, allocations: 85.14 kB / 0.8241 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1744, allocations: 4 kB / 0.8241 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1745, allocations: 0 / 0.8241 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.1746, allocations: 7.938 kB / 0.8241 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1746, allocations: 15.98 kB / 0.8241 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.1746, allocations: 79.28 kB / 0.8242 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1746, allocations: 0 / 0.8242 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003032/0.1749, allocations: 8 kB / 0.8242 GB, free: 13.33 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0006295/0.1755, allocations: 0.8712 MB / 0.825 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.1757, allocations: 48.33 kB / 0.8251 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1757, allocations: 0 / 0.8251 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.1757, allocations: 15.98 kB / 0.8251 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.1762, allocations: 11.94 kB / 0.8251 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.1779, allocations: 1.7 MB / 0.8267 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1782, allocations: 0.6807 MB / 0.8274 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.746e-05/0.1782, allocations: 11.98 kB / 0.8274 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.1783, allocations: 15.44 kB / 0.8274 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1783, allocations: 0 / 0.8274 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.2036, allocations: 1.739 MB / 0.8291 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.268, allocations: 5.906 kB / 0.8291 GB, free: 8.246 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.294183027930558] Failed to read output from testmodel.py, exit status != 0: 8.33382263686508 8.348657985000001 8.176142151 Calling exit ...