Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",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.001063/0.001063, allocations: 108 kB / 15.61 MB, free: 152 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.001109/0.001109, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.9413/0.9413, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 60.09 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1524, allocations: 82.04 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002554/0.155, allocations: 1.26 MB / 0.5956 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004115/0.1591, allocations: 3.272 MB / 0.5988 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.1592, allocations: 0 / 0.5988 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.1592, allocations: 3.938 kB / 0.5988 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-05/0.1593, allocations: 0 / 0.5988 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.16, allocations: 107.4 kB / 0.5989 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.587e-05/0.1601, allocations: 31.92 kB / 0.5989 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.1602, allocations: 7.969 kB / 0.5989 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.173e-05/0.1602, allocations: 16 kB / 0.599 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/0.1603, allocations: 19.92 kB / 0.599 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1603, allocations: 4 kB / 0.599 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.1606, allocations: 83.73 kB / 0.5991 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.1607, allocations: 7.984 kB / 0.5991 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.1607, allocations: 15.92 kB / 0.5991 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.161, allocations: 72.06 kB / 0.5992 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.161, allocations: 0 / 0.5992 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.161, allocations: 0 / 0.5992 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.161, allocations: 0 / 0.5992 GB, free: 4.586 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.0005319/0.1615, allocations: 351.5 kB / 0.5995 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.1616, allocations: 8.031 kB / 0.5995 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/0.1616, allocations: 34.73 kB / 0.5995 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.1617, allocations: 4.938 kB / 0.5995 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.1619, allocations: 168.3 kB / 0.5997 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1619, allocations: 4.375 kB / 0.5997 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.1619, allocations: 8.312 kB / 0.5997 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1621, allocations: 57.61 kB / 0.5998 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1621, allocations: 0 / 0.5998 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1621, allocations: 4 kB / 0.5998 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1621, allocations: 4 kB / 0.5998 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.1622, allocations: 19.92 kB / 0.5998 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.1624, allocations: 165.6 kB / 0.5999 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1625, allocations: 54.5 kB / 0.6 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.1626, allocations: 16.84 kB / 0.6 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/0.1633, allocations: 0.5949 MB / 0.6006 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1633, allocations: 30.56 kB / 0.6006 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1633, allocations: 4 kB / 0.6006 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005721/0.1639, allocations: 294.2 kB / 0.6009 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.164, allocations: 51.41 kB / 0.601 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.1641, allocations: 113.7 kB / 0.6011 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1641, allocations: 25.7 kB / 0.6011 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.1641, allocations: 88.14 kB / 0.6012 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.1642, allocations: 31.48 kB / 0.6012 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1642, allocations: 21.72 kB / 0.6012 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1643, allocations: 322.8 kB / 0.6015 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.1644, allocations: 15.94 kB / 0.6015 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.369e-05/0.1644, allocations: 53.14 kB / 0.6016 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1645, allocations: 73.25 kB / 0.6017 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1646, allocations: 0 / 0.6017 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001546/0.1647, allocations: 105.9 kB / 0.6018 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1647, allocations: 4 kB / 0.6018 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1647, allocations: 0 / 0.6018 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1648, allocations: 4 kB / 0.6018 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/0.1649, allocations: 23.88 kB / 0.6018 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1649, allocations: 8 kB / 0.6018 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.1649, allocations: 3.938 kB / 0.6018 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1649, allocations: 4 kB / 0.6018 GB, free: 1.438 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 0.0001036/0.165, allocations: 122 kB / 0.6019 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1651, allocations: 0 / 0.6019 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.1651, allocations: 11.97 kB / 0.6019 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1651, allocations: 0 / 0.6019 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1651, allocations: 0 / 0.6019 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1651, allocations: 3.938 kB / 0.6019 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.1654, allocations: 177.7 kB / 0.6021 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1654, allocations: 3.938 kB / 0.6021 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.1655, allocations: 15.98 kB / 0.6021 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1655, allocations: 4 kB / 0.6021 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1655, allocations: 4 kB / 0.6021 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1655, allocations: 0 / 0.6021 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1655, allocations: 0 / 0.6021 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1657, allocations: 171.4 kB / 0.6023 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.1658, allocations: 81.11 kB / 0.6024 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1658, allocations: 4 kB / 0.6024 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1659, allocations: 4 kB / 0.6024 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.166, allocations: 19.86 kB / 0.6024 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.166, allocations: 0 / 0.6024 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.846e-05/0.166, allocations: 83.28 kB / 0.6025 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.166, allocations: 0 / 0.6025 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002486/0.1663, allocations: 8 kB / 0.6025 GB, free: 0.6445 MB / 0.4981 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.2379/0.4042, allocations: 0.7064 MB / 0.6032 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.4043, allocations: 48.64 kB / 0.6032 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4043, allocations: 0 / 0.6032 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.661e-05/0.4044, allocations: 17.69 kB / 0.6033 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.4048, allocations: 11.72 kB / 0.6033 GB, free: 44.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.4059, allocations: 1.519 MB / 0.6047 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.755e-05/0.406, allocations: 0.6907 MB / 0.6054 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.389e-05/0.4061, allocations: 4.641 kB / 0.6054 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.4061, allocations: 14.31 kB / 0.6054 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.4061, allocations: 4 kB / 0.6054 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.4222, allocations: 1.637 MB / 0.607 GB, free: 41.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.732, allocations: 8.422 kB / 0.607 GB, free: 41.84 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck_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_WaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)