Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.005594/0.005594, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001118/0.001118, allocations: 192.2 kB / 16.67 MB, free: 5.969 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 / 240.4 MB, free: 15.15 MB / 206.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.8622/0.8622, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 0.595 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1438, allocations: 82.04 MB / 0.6751 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002256/0.1461, allocations: 1.261 MB / 0.6764 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003813/0.1499, allocations: 2.926 MB / 0.6792 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.15, allocations: 3.938 kB / 0.6792 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.15, allocations: 0 / 0.6792 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.1501, allocations: 11.92 kB / 0.6792 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.1506, allocations: 99.55 kB / 0.6793 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/0.1506, allocations: 39.84 kB / 0.6794 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.1507, allocations: 7.984 kB / 0.6794 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004643/0.1512, allocations: 159.5 kB / 0.6795 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.1512, allocations: 15.92 kB / 0.6795 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1512, allocations: 4 kB / 0.6795 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.1514, allocations: 71.75 kB / 0.6796 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.1514, allocations: 7.984 kB / 0.6796 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.1515, allocations: 15.92 kB / 0.6796 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1516, allocations: 68.08 kB / 0.6797 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1516, allocations: 4 kB / 0.6797 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1517, allocations: 0 / 0.6797 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1517, allocations: 0 / 0.6797 GB, free: 6.168 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.0004021/0.1521, allocations: 351.3 kB / 0.68 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1521, allocations: 8.031 kB / 0.6801 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.1522, allocations: 38.75 kB / 0.6801 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.1522, allocations: 4.938 kB / 0.6801 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1523, allocations: 164.4 kB / 0.6802 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1523, allocations: 4.312 kB / 0.6803 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.1524, allocations: 12.36 kB / 0.6803 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1525, allocations: 57.61 kB / 0.6803 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1525, allocations: 0 / 0.6803 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1525, allocations: 4 kB / 0.6803 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1526, allocations: 4 kB / 0.6803 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.584e-05/0.1526, allocations: 15.97 kB / 0.6803 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.1528, allocations: 165.6 kB / 0.6805 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.533e-05/0.1529, allocations: 58.56 kB / 0.6806 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.1529, allocations: 20.78 kB / 0.6806 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/0.1537, allocations: 0.5907 MB / 0.6812 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1537, allocations: 34.56 kB / 0.6812 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1537, allocations: 0 / 0.6812 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005641/0.1543, allocations: 306.2 kB / 0.6815 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.1543, allocations: 55.64 kB / 0.6815 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/0.1544, allocations: 97.8 kB / 0.6816 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1544, allocations: 29.7 kB / 0.6817 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.1544, allocations: 92.08 kB / 0.6817 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.1545, allocations: 27.73 kB / 0.6818 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1545, allocations: 29.66 kB / 0.6818 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.1546, allocations: 318.8 kB / 0.6821 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.1546, allocations: 12 kB / 0.6821 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/0.1547, allocations: 57.14 kB / 0.6822 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.488e-05/0.1548, allocations: 69.08 kB / 0.6822 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1548, allocations: 4 kB / 0.6822 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001378/0.155, allocations: 89.55 kB / 0.6823 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.155, allocations: 8 kB / 0.6823 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.155, allocations: 0 / 0.6823 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.155, allocations: 7.938 kB / 0.6823 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.1551, allocations: 24.2 kB / 0.6824 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1551, allocations: 4 kB / 0.6824 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.1552, allocations: 7.938 kB / 0.6824 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.1552, allocations: 12.06 kB / 0.6824 GB, free: 3.008 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 6.857e-05/0.1552, allocations: 113.8 kB / 0.6825 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.1553, allocations: 4.391 kB / 0.6825 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.1553, allocations: 15.95 kB / 0.6825 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1553, allocations: 0 / 0.6825 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1553, allocations: 0 / 0.6825 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1553, allocations: 7.875 kB / 0.6825 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.1556, allocations: 173.7 kB / 0.6827 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1556, allocations: 0 / 0.6827 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.1557, allocations: 23.98 kB / 0.6827 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1557, allocations: 4 kB / 0.6827 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1557, allocations: 0 / 0.6827 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1557, allocations: 0 / 0.6827 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1557, allocations: 0 / 0.6827 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1559, allocations: 175.4 kB / 0.6829 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.1559, allocations: 81.11 kB / 0.683 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1559, allocations: 4.031 kB / 0.683 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1561, allocations: 12 kB / 0.683 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.1561, allocations: 11.88 kB / 0.683 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1561, allocations: 0 / 0.683 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.1561, allocations: 83.27 kB / 0.6831 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.1561, allocations: 0 / 0.6831 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002402/0.1564, allocations: 12 kB / 0.6831 GB, free: 2.211 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.000386/0.1568, allocations: 0.7086 MB / 0.6838 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.1569, allocations: 39.86 kB / 0.6838 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1569, allocations: 0 / 0.6838 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.094e-05/0.1569, allocations: 19.98 kB / 0.6838 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.1572, allocations: 18.5 kB / 0.6838 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1585, allocations: 1.524 MB / 0.6853 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.1587, allocations: 0.6931 MB / 0.686 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.602e-05/0.1588, allocations: 7.859 kB / 0.686 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.1588, allocations: 19.42 kB / 0.686 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.1588, allocations: 0 / 0.686 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.1761, allocations: 1.689 MB / 0.6877 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.21, allocations: 8.891 kB / 0.6877 GB, free: 13.46 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck_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_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)