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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.00109/0.00109, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 193.1 kB / 16.53 MB, free: 6.691 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.9654/0.9654, allocations: 143.1 MB / 433.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.89 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1421, allocations: 82.04 MB / 0.5944 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002193/0.1443, allocations: 1.263 MB / 0.5956 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.147, allocations: 2.499 MB / 0.5981 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.1471, allocations: 0 / 0.5981 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.1471, allocations: 7.984 kB / 0.5981 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.684e-05/0.1471, allocations: 7.922 kB / 0.5981 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.1476, allocations: 127.4 kB / 0.5982 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.1477, allocations: 31.86 kB / 0.5982 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.1477, allocations: 4 kB / 0.5982 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.1478, allocations: 23.91 kB / 0.5983 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.1478, allocations: 15.98 kB / 0.5983 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.1478, allocations: 4 kB / 0.5983 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.1481, allocations: 115.8 kB / 0.5984 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.1482, allocations: 11.86 kB / 0.5984 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.1482, allocations: 15.94 kB / 0.5984 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1484, allocations: 88.05 kB / 0.5985 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1484, allocations: 4 kB / 0.5985 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1484, allocations: 0 / 0.5985 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.1484, allocations: 0 / 0.5985 GB, free: 5.293 MB / 0.4981 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.0004121/0.1488, allocations: 347.4 kB / 0.5988 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1489, allocations: 16.62 kB / 0.5988 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.1489, allocations: 34.75 kB / 0.5989 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.1491, allocations: 12.92 kB / 0.5989 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1493, allocations: 164.4 kB / 0.5991 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1493, allocations: 4.375 kB / 0.5991 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.1493, allocations: 4.375 kB / 0.5991 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1495, allocations: 76.12 kB / 0.5991 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1495, allocations: 4 kB / 0.5991 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1495, allocations: 7.938 kB / 0.5991 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1495, allocations: 0 / 0.5991 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.405e-05/0.1496, allocations: 15.92 kB / 0.5992 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.1501, allocations: 462.8 kB / 0.5996 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1503, allocations: 79.75 kB / 0.5997 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.1503, allocations: 18.7 kB / 0.5997 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.1503, allocations: 3.984 kB / 0.5997 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1504, allocations: 46.5 kB / 0.5997 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1504, allocations: 0 / 0.5997 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006138/0.151, allocations: 298.2 kB / 0.6 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1511, allocations: 102.8 kB / 0.6001 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.1511, allocations: 101.8 kB / 0.6002 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1512, allocations: 29.95 kB / 0.6003 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.1512, allocations: 92.05 kB / 0.6003 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.1512, allocations: 31.55 kB / 0.6004 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.1513, allocations: 25.7 kB / 0.6004 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1514, allocations: 322.7 kB / 0.6007 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.099e-05/0.1514, allocations: 16.05 kB / 0.6007 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-05/0.1515, allocations: 57.08 kB / 0.6008 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.349e-05/0.1516, allocations: 73.03 kB / 0.6008 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1516, allocations: 4 kB / 0.6008 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001343/0.1517, allocations: 101.5 kB / 0.6009 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1518, allocations: 6.344 kB / 0.6009 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.1518, allocations: 4 kB / 0.601 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1518, allocations: 0 / 0.601 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.1519, allocations: 19.98 kB / 0.601 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1519, allocations: 4 kB / 0.601 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.55e-05/0.1519, allocations: 0 / 0.601 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1519, allocations: 11.94 kB / 0.601 GB, free: 2.379 MB / 0.4981 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.602e-05/0.152, allocations: 117.8 kB / 0.6011 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.1521, allocations: 8.062 kB / 0.6011 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.1521, allocations: 11.55 kB / 0.6011 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1521, allocations: 4.609 kB / 0.6011 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1522, allocations: 0 / 0.6011 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1522, allocations: 0 / 0.6011 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.1525, allocations: 173.6 kB / 0.6013 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1525, allocations: 4 kB / 0.6013 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.1526, allocations: 12 kB / 0.6013 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1526, allocations: 0 / 0.6013 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1526, allocations: 11.98 kB / 0.6013 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1526, allocations: 0 / 0.6013 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.1526, allocations: 7.938 kB / 0.6013 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.1529, allocations: 333.9 kB / 0.6016 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.1529, allocations: 85.14 kB / 0.6017 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1529, allocations: 0 / 0.6017 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1531, allocations: 8 kB / 0.6017 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.1531, allocations: 15.86 kB / 0.6017 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.1532, allocations: 4 kB / 0.6017 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.183e-05/0.1532, allocations: 83.28 kB / 0.6018 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.443e-06/0.1532, allocations: 0 / 0.6018 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003136/0.1535, allocations: 11.94 kB / 0.6018 GB, free: 1.414 MB / 0.4981 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.0004763/0.154, allocations: 0.8634 MB / 0.6027 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.1541, allocations: 55.89 kB / 0.6027 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1541, allocations: 0 / 0.6027 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.1542, allocations: 20.25 kB / 0.6028 GB, free: 456 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.1546, allocations: 16 kB / 0.6028 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2205/0.3752, allocations: 1.667 MB / 0.6044 GB, free: 42.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.3753, allocations: 0.6836 MB / 0.6051 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.943e-05/0.3754, allocations: 8.281 kB / 0.6051 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.3755, allocations: 14.91 kB / 0.6051 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of SimCode: time 1.413e-06/0.3755, allocations: 2.656 kB / 0.6051 GB, free: 42.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.392, allocations: 1.69 MB / 0.6067 GB, free: 41.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.671, allocations: 6.75 kB / 0.6067 GB, free: 41.87 MB / 0.4981 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)