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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004143/0.004143, allocations: 100.7 kB / 15.73 MB, free: 6.059 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.001197/0.001197, allocations: 198.8 kB / 16.68 MB, free: 5.984 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002376/0.002376, allocations: 286.9 kB / 290.8 MB, free: 1.805 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9757/0.9757, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002655, allocations: 95.84 kB / 0.681 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1572, allocations: 86.97 MB / 0.7659 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002371/0.1596, allocations: 1.267 MB / 0.7671 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003194/0.1628, allocations: 2.492 MB / 0.7696 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.1628, allocations: 0 / 0.7696 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.1629, allocations: 3.938 kB / 0.7696 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.1629, allocations: 7.984 kB / 0.7696 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.1635, allocations: 127.4 kB / 0.7697 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.371e-05/0.1635, allocations: 35.86 kB / 0.7697 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.096e-05/0.1636, allocations: 3.984 kB / 0.7697 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.376e-05/0.1636, allocations: 19.94 kB / 0.7697 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.1637, allocations: 19.91 kB / 0.7698 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.1637, allocations: 4 kB / 0.7698 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.164, allocations: 123.7 kB / 0.7699 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.1641, allocations: 4 kB / 0.7699 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.1641, allocations: 19.92 kB / 0.7699 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1643, allocations: 87.98 kB / 0.77 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1643, allocations: 4 kB / 0.77 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1643, allocations: 0 / 0.77 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.1644, allocations: 0 / 0.77 GB, free: 4.754 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.000418/0.1648, allocations: 347.3 kB / 0.7703 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1648, allocations: 12.03 kB / 0.7703 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.1649, allocations: 42.73 kB / 0.7704 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.1651, allocations: 8.938 kB / 0.7704 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1652, allocations: 168.3 kB / 0.7705 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1652, allocations: 8.375 kB / 0.7706 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.1652, allocations: 384 / 0.7706 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1654, allocations: 80.14 kB / 0.7706 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1654, allocations: 0 / 0.7706 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1654, allocations: 7.984 kB / 0.7706 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1654, allocations: 0 / 0.7706 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.298e-05/0.1655, allocations: 15.94 kB / 0.7707 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.1661, allocations: 462.9 kB / 0.7711 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.1662, allocations: 75.66 kB / 0.7712 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.1663, allocations: 22.7 kB / 0.7712 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.1663, allocations: 0 / 0.7712 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1663, allocations: 42.58 kB / 0.7712 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.073e-06/0.1664, allocations: 4 kB / 0.7712 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006204/0.167, allocations: 302.2 kB / 0.7715 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.167, allocations: 102.8 kB / 0.7716 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.1671, allocations: 105.8 kB / 0.7717 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1672, allocations: 29.64 kB / 0.7717 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.1672, allocations: 100.3 kB / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1673, allocations: 27.78 kB / 0.7719 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.1673, allocations: 21.72 kB / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1674, allocations: 326.8 kB / 0.7722 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.1675, allocations: 12 kB / 0.7722 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.1675, allocations: 49.14 kB / 0.7723 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.1676, allocations: 85.52 kB / 0.7723 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1676, allocations: 0 / 0.7723 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001389/0.1678, allocations: 93.55 kB / 0.7724 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1678, allocations: 14.31 kB / 0.7724 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1678, allocations: 0 / 0.7724 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1678, allocations: 4 kB / 0.7724 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.1679, allocations: 16 kB / 0.7725 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1679, allocations: 0 / 0.7725 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.168, allocations: 15.83 kB / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.168, allocations: 15.92 kB / 0.7725 GB, free: 1.82 MB / 0.5606 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.199e-05/0.1681, allocations: 114.5 kB / 0.7726 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.1681, allocations: 4 kB / 0.7726 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.1682, allocations: 11.56 kB / 0.7726 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1682, allocations: 0 / 0.7726 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.1682, allocations: 4 kB / 0.7726 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1682, allocations: 0 / 0.7726 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.1685, allocations: 173.6 kB / 0.7728 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1686, allocations: 0 / 0.7728 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.1686, allocations: 19.98 kB / 0.7728 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1687, allocations: 0 / 0.7728 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1687, allocations: 4 kB / 0.7728 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1687, allocations: 11.88 kB / 0.7728 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1687, allocations: 0 / 0.7728 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.169, allocations: 326 kB / 0.7731 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.169, allocations: 81.11 kB / 0.7732 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.1691, allocations: 4 kB / 0.7732 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.1692, allocations: 12.09 kB / 0.7732 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.1693, allocations: 11.94 kB / 0.7732 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1693, allocations: 7.938 kB / 0.7732 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.316e-05/0.1693, allocations: 83.27 kB / 0.7733 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1693, allocations: 0 / 0.7733 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003097/0.1696, allocations: 12 kB / 0.7733 GB, free: 0.8672 MB / 0.5606 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.2612/0.4309, allocations: 0.8634 MB / 0.7742 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.4311, allocations: 46.05 kB / 0.7742 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4311, allocations: 0.6875 kB / 0.7742 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.4311, allocations: 18.61 kB / 0.7742 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.4316, allocations: 12.48 kB / 0.7743 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.4329, allocations: 1.683 MB / 0.7759 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.625e-05/0.433, allocations: 0.6861 MB / 0.7766 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.464e-05/0.433, allocations: 9.234 kB / 0.7766 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.4331, allocations: 16.59 kB / 0.7766 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.4331, allocations: 0 / 0.7766 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.4563, allocations: 1.733 MB / 0.7783 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.872, allocations: 8.562 kB / 0.7783 GB, free: 12.44 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)