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.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.001296/0.001296, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001428/0.001428, allocations: 216.2 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.002471/0.002471, allocations: 289.4 kB / 313.5 MB, free: 2.605 MB / 238.1 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 1.184/1.184, allocations: 180.6 MB / 0.5377 GB, free: 14.61 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 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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 105 kB / 0.7407 GB, free: 27.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1573, allocations: 95.38 MB / 0.8338 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002366/0.1597, allocations: 1.29 MB / 0.8351 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003161/0.1628, allocations: 2.373 MB / 0.8374 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.324e-05/0.1628, allocations: 0 / 0.8374 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.1629, allocations: 3.938 kB / 0.8374 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.918e-05/0.1629, allocations: 3.938 kB / 0.8374 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.1634, allocations: 135.4 kB / 0.8376 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.247e-05/0.1635, allocations: 39.84 kB / 0.8376 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.1635, allocations: 8 kB / 0.8376 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.66e-05/0.1636, allocations: 15.98 kB / 0.8376 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.1636, allocations: 19.91 kB / 0.8376 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.699e-06/0.1637, allocations: 0 / 0.8376 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.1639, allocations: 103.8 kB / 0.8377 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.1639, allocations: 7.984 kB / 0.8377 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.164, allocations: 11.94 kB / 0.8378 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.1641, allocations: 79.72 kB / 0.8378 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1641, allocations: 4 kB / 0.8378 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1641, allocations: 0 / 0.8378 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1642, allocations: 0 / 0.8378 GB, free: 3.734 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.0003948/0.1645, allocations: 274.3 kB / 0.8381 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1646, allocations: 13.34 kB / 0.8381 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.1648, allocations: 16.92 kB / 0.8381 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.824e-05/0.1649, allocations: 114.4 kB / 0.8382 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1649, allocations: 4.375 kB / 0.8382 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1649, allocations: 8.375 kB / 0.8383 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1651, allocations: 149.4 kB / 0.8384 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1651, allocations: 0 / 0.8384 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1651, allocations: 8 kB / 0.8384 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1651, allocations: 4 kB / 0.8384 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.8e-05/0.1652, allocations: 15.88 kB / 0.8384 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.1657, allocations: 388.9 kB / 0.8388 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.1658, allocations: 71.64 kB / 0.8389 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.1659, allocations: 22.78 kB / 0.8389 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1659, allocations: 4 kB / 0.8389 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1659, allocations: 38.5 kB / 0.8389 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1659, allocations: 4 kB / 0.8389 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005717/0.1665, allocations: 229.1 kB / 0.8391 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.1666, allocations: 102.8 kB / 0.8392 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.1666, allocations: 97.8 kB / 0.8393 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1667, allocations: 33.7 kB / 0.8394 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.1667, allocations: 84.09 kB / 0.8394 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1667, allocations: 31.73 kB / 0.8395 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.1668, allocations: 29.7 kB / 0.8395 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1669, allocations: 314.8 kB / 0.8398 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.597e-05/0.167, allocations: 12 kB / 0.8398 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.167, allocations: 57.39 kB / 0.8399 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.129e-05/0.1671, allocations: 80.95 kB / 0.8399 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1671, allocations: 0 / 0.8399 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001457/0.1672, allocations: 97.5 kB / 0.84 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1673, allocations: 4 kB / 0.84 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1673, allocations: 0 / 0.84 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1673, allocations: 8.125 kB / 0.8401 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-05/0.1674, allocations: 19.98 kB / 0.8401 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.1674, allocations: 4 kB / 0.8401 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.1674, allocations: 4 kB / 0.8401 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1674, allocations: 4.609 kB / 0.8401 GB, free: 1.129 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.314e-05/0.1675, allocations: 121.7 kB / 0.8402 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.1676, allocations: 7.953 kB / 0.8402 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.1676, allocations: 11.69 kB / 0.8402 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1676, allocations: 4 kB / 0.8402 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1676, allocations: 0 / 0.8402 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.1676, allocations: 11.97 kB / 0.8402 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.1679, allocations: 125.2 kB / 0.8404 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1679, allocations: 64 / 0.8404 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.168, allocations: 20 kB / 0.8404 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.168, allocations: 0 / 0.8404 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.168, allocations: 4 kB / 0.8404 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.168, allocations: 7.984 kB / 0.8404 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.168, allocations: 3.938 kB / 0.8404 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.1683, allocations: 318 kB / 0.8407 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.1683, allocations: 11.98 kB / 0.8407 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1683, allocations: 4 kB / 0.8407 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1685, allocations: 8 kB / 0.8407 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.1685, allocations: 7.984 kB / 0.8407 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1685, allocations: 4 kB / 0.8407 GB, free: 424 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.213e-05/0.1685, allocations: 79.28 kB / 0.8408 GB, free: 344 kB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1685, allocations: 3.938 kB / 0.8408 GB, free: 340 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003028/0.1688, allocations: 12 kB / 0.8408 GB, free: 328 kB / 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.0001428/0.169, allocations: 111.2 kB / 0.8409 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.1691, allocations: 47.86 kB / 0.841 GB, free: 156 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1691, allocations: 4 kB / 0.841 GB, free: 152 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/0.1691, allocations: 11.94 kB / 0.841 GB, free: 140 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1695, allocations: 8 kB / 0.841 GB, free: 132 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.1702, allocations: 376.6 kB / 0.8414 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.226e-05/0.1702, allocations: 67.34 kB / 0.8414 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.1703, allocations: 15.38 kB / 0.8414 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1703, allocations: 4 kB / 0.8414 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Templates: time 0.00222/0.1725, allocations: 0.8117 MB / 0.8422 GB, free: 14.81 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8285254910588264] Failed to read output from testmodel.py, exit status != 0: 0.17954399110749364 0.19441893200000002 0.027325732000000002 Calling exit ...