Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_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.004932/0.004932, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001293/0.001293, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.891/0.891, allocations: 143.3 MB / 433.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 61.03 kB / 0.5953 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1487, allocations: 82.04 MB / 0.6754 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002457/0.1512, allocations: 1.264 MB / 0.6766 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003383/0.1546, allocations: 2.507 MB / 0.6791 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.1546, allocations: 0 / 0.6791 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.1547, allocations: 0 / 0.6791 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.954e-05/0.1548, allocations: 15.91 kB / 0.6791 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.1553, allocations: 127.3 kB / 0.6792 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.393e-05/0.1554, allocations: 43.84 kB / 0.6793 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.1555, allocations: 4 kB / 0.6793 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.1555, allocations: 15.98 kB / 0.6793 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.1556, allocations: 23.91 kB / 0.6793 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1556, allocations: 0 / 0.6793 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.1559, allocations: 115.8 kB / 0.6794 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.1559, allocations: 3.984 kB / 0.6794 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.156, allocations: 15.94 kB / 0.6794 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1562, allocations: 87.92 kB / 0.6795 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1562, allocations: 0 / 0.6795 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1562, allocations: 8 kB / 0.6795 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1562, allocations: 0 / 0.6795 GB, free: 6.402 MB / 0.5137 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.0004623/0.1567, allocations: 351.3 kB / 0.6799 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1568, allocations: 8.031 kB / 0.6799 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.1568, allocations: 50.62 kB / 0.6799 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.157, allocations: 12.92 kB / 0.6799 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1572, allocations: 160.4 kB / 0.6801 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1572, allocations: 4.375 kB / 0.6801 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1572, allocations: 12.38 kB / 0.6801 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1574, allocations: 76.12 kB / 0.6802 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.1574, allocations: 0 / 0.6802 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1574, allocations: 0 / 0.6802 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1574, allocations: 4 kB / 0.6802 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.1575, allocations: 7.984 kB / 0.6802 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.1581, allocations: 474.8 kB / 0.6806 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.1583, allocations: 71.72 kB / 0.6807 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.1583, allocations: 30.72 kB / 0.6807 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1583, allocations: 0 / 0.6807 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1584, allocations: 34.56 kB / 0.6808 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1584, allocations: 3.938 kB / 0.6808 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006623/0.159, allocations: 302.4 kB / 0.6811 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.1591, allocations: 106.8 kB / 0.6812 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.1592, allocations: 102.2 kB / 0.6813 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1592, allocations: 29.7 kB / 0.6813 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.1593, allocations: 92.02 kB / 0.6814 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.1593, allocations: 23.81 kB / 0.6814 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.1594, allocations: 29.7 kB / 0.6814 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1595, allocations: 318.8 kB / 0.6817 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.1596, allocations: 15.98 kB / 0.6817 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.1596, allocations: 49.16 kB / 0.6818 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1597, allocations: 77.02 kB / 0.6819 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1597, allocations: 0 / 0.6819 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001591/0.1599, allocations: 93.55 kB / 0.6819 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1599, allocations: 10.12 kB / 0.682 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1599, allocations: 0 / 0.682 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.16, allocations: 4 kB / 0.682 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.16, allocations: 23.98 kB / 0.682 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1601, allocations: 4 kB / 0.682 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.081e-05/0.1601, allocations: 8.078 kB / 0.682 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1601, allocations: 7.938 kB / 0.682 GB, free: 3.488 MB / 0.5137 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 8.433e-05/0.1602, allocations: 121.7 kB / 0.6821 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.1603, allocations: 4 kB / 0.6821 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.1603, allocations: 7.562 kB / 0.6821 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1603, allocations: 7.984 kB / 0.6821 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1603, allocations: 0 / 0.6821 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1603, allocations: 0 / 0.6821 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.1607, allocations: 185.5 kB / 0.6823 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1607, allocations: 4 kB / 0.6823 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.784e-05/0.1608, allocations: 20.06 kB / 0.6823 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1608, allocations: 0 / 0.6823 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1608, allocations: 4 kB / 0.6823 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1609, allocations: 0 / 0.6823 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1609, allocations: 0 / 0.6823 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.1611, allocations: 337.9 kB / 0.6827 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.1612, allocations: 85.14 kB / 0.6827 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1612, allocations: 0 / 0.6827 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1614, allocations: 4 kB / 0.6827 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.1614, allocations: 11.92 kB / 0.6828 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1615, allocations: 4 kB / 0.6828 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.1615, allocations: 79.28 kB / 0.6828 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1615, allocations: 0 / 0.6828 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003168/0.1618, allocations: 12 kB / 0.6829 GB, free: 2.527 MB / 0.5137 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.0006044/0.1624, allocations: 0.8718 MB / 0.6837 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1626, allocations: 56.08 kB / 0.6838 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.1626, allocations: 0 / 0.6838 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.302e-05/0.1626, allocations: 19.98 kB / 0.6838 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.163, allocations: 7.938 kB / 0.6838 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.1648, allocations: 1.688 MB / 0.6854 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1652, allocations: 0.6949 MB / 0.6861 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.53e-05/0.1652, allocations: 4 kB / 0.6861 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.1653, allocations: 15.44 kB / 0.6861 GB, free: 15 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.1653, allocations: 4 kB / 0.6861 GB, free: 15 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.1879, allocations: 1.72 MB / 0.6878 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.817, allocations: 16.12 kB / 0.6878 GB, free: 13.45 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)