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.001785/0.001785, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001819/0.001819, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8163/0.8163, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.45 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1354, allocations: 78.87 MB / 0.6505 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002175/0.1376, allocations: 1.254 MB / 0.6518 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.1408, allocations: 2.505 MB / 0.6542 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.1408, allocations: 0 / 0.6542 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.1409, allocations: 7.922 kB / 0.6542 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.177e-05/0.1409, allocations: 0 / 0.6542 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005271/0.1415, allocations: 127.4 kB / 0.6543 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.459e-05/0.1416, allocations: 35.86 kB / 0.6544 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.141e-05/0.1416, allocations: 3.984 kB / 0.6544 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.1416, allocations: 23.92 kB / 0.6544 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.964e-05/0.1417, allocations: 15.98 kB / 0.6544 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1417, allocations: 7.938 kB / 0.6544 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.142, allocations: 115.7 kB / 0.6545 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.1421, allocations: 7.984 kB / 0.6545 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.1421, allocations: 19.92 kB / 0.6545 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1423, allocations: 84 kB / 0.6546 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1423, allocations: 0 / 0.6546 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1423, allocations: 0 / 0.6546 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1424, allocations: 0 / 0.6546 GB, free: 15.41 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.0004599/0.1428, allocations: 359.3 kB / 0.655 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1429, allocations: 8.031 kB / 0.655 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.1429, allocations: 38.75 kB / 0.655 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.1431, allocations: 12.92 kB / 0.655 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1432, allocations: 160.4 kB / 0.6552 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1433, allocations: 384 / 0.6552 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1433, allocations: 8.375 kB / 0.6552 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.1434, allocations: 88.06 kB / 0.6553 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1434, allocations: 0 / 0.6553 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1435, allocations: 0 / 0.6553 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1435, allocations: 0 / 0.6553 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.1435, allocations: 15.92 kB / 0.6553 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.1441, allocations: 478.8 kB / 0.6557 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1443, allocations: 67.75 kB / 0.6558 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.1443, allocations: 22.7 kB / 0.6558 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.1443, allocations: 4 kB / 0.6558 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.1444, allocations: 38.5 kB / 0.6559 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.946e-06/0.1444, allocations: 3.984 kB / 0.6559 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006379/0.145, allocations: 302.2 kB / 0.6562 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.1451, allocations: 106.8 kB / 0.6563 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.194e-05/0.1452, allocations: 102.1 kB / 0.6564 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1452, allocations: 29.7 kB / 0.6564 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.1453, allocations: 92.03 kB / 0.6565 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.1453, allocations: 23.81 kB / 0.6565 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.1454, allocations: 29.64 kB / 0.6565 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1455, allocations: 322.8 kB / 0.6568 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.1456, allocations: 15.98 kB / 0.6569 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.1456, allocations: 53.14 kB / 0.6569 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.625e-05/0.1457, allocations: 69.03 kB / 0.657 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1457, allocations: 0 / 0.657 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001403/0.1459, allocations: 97.55 kB / 0.6571 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1459, allocations: 9.875 kB / 0.6571 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1459, allocations: 0 / 0.6571 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1459, allocations: 4 kB / 0.6571 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.146, allocations: 19.98 kB / 0.6571 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.146, allocations: 3.938 kB / 0.6571 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/0.1461, allocations: 7.953 kB / 0.6571 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1461, allocations: 8 kB / 0.6571 GB, free: 12.49 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 9.566e-05/0.1462, allocations: 121.9 kB / 0.6572 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.1462, allocations: 4 kB / 0.6572 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.1463, allocations: 19.55 kB / 0.6573 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1463, allocations: 0 / 0.6573 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1463, allocations: 0 / 0.6573 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1463, allocations: 4 kB / 0.6573 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.1467, allocations: 174.2 kB / 0.6574 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1467, allocations: 0 / 0.6574 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.287e-05/0.1468, allocations: 12 kB / 0.6574 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1468, allocations: 4 kB / 0.6574 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1468, allocations: 11.92 kB / 0.6575 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1468, allocations: 3.938 kB / 0.6575 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1468, allocations: 4 kB / 0.6575 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1471, allocations: 326 kB / 0.6578 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.1472, allocations: 85.23 kB / 0.6578 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1472, allocations: 11.92 kB / 0.6579 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.1474, allocations: 8 kB / 0.6579 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.1474, allocations: 15.86 kB / 0.6579 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.1474, allocations: 4 kB / 0.6579 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.909e-05/0.1474, allocations: 75.28 kB / 0.658 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1474, allocations: 0 / 0.658 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003102/0.1478, allocations: 16 kB / 0.658 GB, free: 11.52 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.0005792/0.1483, allocations: 0.8594 MB / 0.6588 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.1485, allocations: 51.94 kB / 0.6589 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1485, allocations: 0 / 0.6589 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.1485, allocations: 24.19 kB / 0.6589 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.149, allocations: 8.875 kB / 0.6589 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.1507, allocations: 1.7 MB / 0.6606 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.151, allocations: 0.6846 MB / 0.6612 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.1511, allocations: 8 kB / 0.6612 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.1511, allocations: 15.44 kB / 0.6612 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1511, allocations: 0 / 0.6612 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1761, allocations: 1.713 MB / 0.6629 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.245, allocations: 11.98 kB / 0.6629 GB, free: 6.418 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)