Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 106.4 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6871/0.6871, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 65.73 kB / 0.5572 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1578, allocations: 76.18 MB / 0.6316 GB, free: 4.836 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002599/0.1604, allocations: 1.254 MB / 0.6328 GB, free: 3.57 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.1639, allocations: 2.499 MB / 0.6352 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.1639, allocations: 0 / 0.6352 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.164, allocations: 3.938 kB / 0.6352 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.351e-05/0.1641, allocations: 4 kB / 0.6352 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006868/0.1648, allocations: 135.3 kB / 0.6354 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.17e-05/0.1648, allocations: 27.92 kB / 0.6354 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.1649, allocations: 7.984 kB / 0.6354 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.674e-05/0.165, allocations: 19.92 kB / 0.6354 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.165, allocations: 11.98 kB / 0.6354 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1651, allocations: 3.938 kB / 0.6354 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/0.1654, allocations: 123.7 kB / 0.6356 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.1655, allocations: 4 kB / 0.6356 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.1655, allocations: 27.91 kB / 0.6356 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.1658, allocations: 78.66 kB / 0.6357 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1658, allocations: 0 / 0.6357 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1658, allocations: 0 / 0.6357 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1658, allocations: 4 kB / 0.6357 GB, free: 0.6133 MB / 478.1 MB 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.0004631/0.1663, allocations: 344.4 kB / 0.636 GB, free: 236 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.1663, allocations: 8.031 kB / 0.636 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.1664, allocations: 38.73 kB / 0.636 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.1666, allocations: 16.84 kB / 0.6361 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1667, allocations: 168.4 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1668, allocations: 8.312 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.1668, allocations: 4.375 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1669, allocations: 76.17 kB / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1669, allocations: 0 / 0.6363 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.167, allocations: 4 kB / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.167, allocations: 4 kB / 0.6363 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.439e-05/0.167, allocations: 11.92 kB / 0.6363 GB, free: 15.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.1677, allocations: 470.8 kB / 0.6368 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1679, allocations: 75.72 kB / 0.6368 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.1679, allocations: 22.64 kB / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.1679, allocations: 3.938 kB / 0.6369 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1679, allocations: 34.56 kB / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.168, allocations: 0 / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006633/0.1686, allocations: 310.2 kB / 0.6372 GB, free: 14.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.1687, allocations: 102.8 kB / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.1688, allocations: 97.84 kB / 0.6374 GB, free: 14.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1688, allocations: 29.7 kB / 0.6374 GB, free: 14.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.1688, allocations: 88.05 kB / 0.6375 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.1689, allocations: 31.55 kB / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.169, allocations: 37.84 kB / 0.6376 GB, free: 14.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1691, allocations: 318.8 kB / 0.6379 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/0.1691, allocations: 12 kB / 0.6379 GB, free: 14.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.1692, allocations: 61.02 kB / 0.6379 GB, free: 13.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.526e-05/0.1693, allocations: 73.08 kB / 0.638 GB, free: 13.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.1693, allocations: 0 / 0.638 GB, free: 13.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001338/0.1694, allocations: 90.08 kB / 0.6381 GB, free: 13.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1695, allocations: 7.984 kB / 0.6381 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1695, allocations: 64 / 0.6381 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1695, allocations: 8.219 kB / 0.6381 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.391e-05/0.1696, allocations: 23.98 kB / 0.6381 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1696, allocations: 7.938 kB / 0.6381 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.1697, allocations: 7.906 kB / 0.6381 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1697, allocations: 7.938 kB / 0.6382 GB, free: 13.69 MB / 494.1 MB 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 8.336e-05/0.1698, allocations: 117.8 kB / 0.6383 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.1698, allocations: 4 kB / 0.6383 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.1699, allocations: 7.562 kB / 0.6383 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1699, allocations: 4 kB / 0.6383 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1699, allocations: 4 kB / 0.6383 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1699, allocations: 0 / 0.6383 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.1703, allocations: 177.6 kB / 0.6385 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1703, allocations: 0 / 0.6385 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.511e-05/0.1704, allocations: 23.92 kB / 0.6385 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1704, allocations: 0 / 0.6385 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.1704, allocations: 0 / 0.6385 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1704, allocations: 4 kB / 0.6385 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1704, allocations: 0 / 0.6385 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.1707, allocations: 337.9 kB / 0.6388 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.1707, allocations: 77.11 kB / 0.6389 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.1708, allocations: 7.938 kB / 0.6389 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1709, allocations: 8.031 kB / 0.6389 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.171, allocations: 7.875 kB / 0.6389 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.171, allocations: 8 kB / 0.6389 GB, free: 12.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.171, allocations: 83.28 kB / 0.639 GB, free: 12.74 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 0 / 0.639 GB, free: 12.74 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003277/0.1714, allocations: 12 kB / 0.639 GB, free: 12.73 MB / 494.1 MB 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.0005788/0.172, allocations: 0.8672 MB / 0.6398 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.1721, allocations: 43.92 kB / 0.6399 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1721, allocations: 0 / 0.6399 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.831e-05/0.1721, allocations: 15.94 kB / 0.6399 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.1726, allocations: 17.05 kB / 0.6399 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.1744, allocations: 1.708 MB / 0.6416 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1747, allocations: 0.6884 MB / 0.6423 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.1748, allocations: 7.984 kB / 0.6423 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.1748, allocations: 11.44 kB / 0.6423 GB, free: 9.195 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1748, allocations: 0 / 0.6423 GB, free: 9.195 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.1954, allocations: 1.719 MB / 0.644 GB, free: 7.633 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.375, allocations: 4.438 kB / 0.644 GB, free: 7.629 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)