Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.001149/0.001149, 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.001148/0.001148, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.981/0.981, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.89 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1518, allocations: 82.04 MB / 0.5944 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005297/0.1571, allocations: 4.006 MB / 0.5983 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002001/0.1573, allocations: 163.5 kB / 0.5984 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.1574, allocations: 0 / 0.5984 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.241e-05/0.1575, allocations: 3.938 kB / 0.5984 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.1575, allocations: 11.92 kB / 0.5985 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.1579, allocations: 79.75 kB / 0.5985 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.386e-05/0.158, allocations: 35.84 kB / 0.5986 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.158, allocations: 0 / 0.5986 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.1581, allocations: 27.86 kB / 0.5986 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.1581, allocations: 7.984 kB / 0.5986 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1581, allocations: 0 / 0.5986 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.1583, allocations: 63.81 kB / 0.5987 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.1584, allocations: 11.97 kB / 0.5987 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.1584, allocations: 7.938 kB / 0.5987 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.1586, allocations: 32.25 kB / 0.5987 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1586, allocations: 3.938 kB / 0.5987 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.805e-06/0.1586, allocations: 8 kB / 0.5987 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1586, allocations: 3.938 kB / 0.5987 GB, free: 5.039 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003655/0.159, allocations: 339.4 kB / 0.5991 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.159, allocations: 8.031 kB / 0.5991 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.159, allocations: 30.75 kB / 0.5991 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.1591, allocations: 4.938 kB / 0.5991 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1592, allocations: 168.4 kB / 0.5993 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.1593, allocations: 26.27 kB / 0.5993 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.1593, allocations: 8.125 kB / 0.5993 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.1594, allocations: 41.69 kB / 0.5993 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1594, allocations: 3.984 kB / 0.5993 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1594, allocations: 0 / 0.5993 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.1594, allocations: 0 / 0.5993 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.619e-05/0.1595, allocations: 23.92 kB / 0.5994 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1599, allocations: 334 kB / 0.5997 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.358e-05/0.16, allocations: 18.58 kB / 0.5997 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.16, allocations: 4.859 kB / 0.5997 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.123e-05/0.1601, allocations: 85.17 kB / 0.5998 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1601, allocations: 38.55 kB / 0.5998 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1601, allocations: 0 / 0.5998 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.1603, allocations: 41.55 kB / 0.5999 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.1603, allocations: 51.41 kB / 0.5999 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/0.1604, allocations: 106 kB / 0.6 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1604, allocations: 25.7 kB / 0.6 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.1605, allocations: 88.08 kB / 0.6001 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/0.1605, allocations: 3.906 kB / 0.6001 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1605, allocations: 17.72 kB / 0.6001 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1606, allocations: 318.8 kB / 0.6004 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.1606, allocations: 4 kB / 0.6004 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.1607, allocations: 21.72 kB / 0.6005 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.1607, allocations: 21.64 kB / 0.6005 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1607, allocations: 0 / 0.6005 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.601e-05/0.1608, allocations: 45.7 kB / 0.6005 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.1608, allocations: 11.88 kB / 0.6005 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1608, allocations: 3.938 kB / 0.6005 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1608, allocations: 3.984 kB / 0.6005 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.132e-05/0.1609, allocations: 8.062 kB / 0.6005 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1609, allocations: 4 kB / 0.6006 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.1609, allocations: 0 / 0.6006 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1609, allocations: 0 / 0.6006 GB, free: 2.883 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.472e-05/0.161, allocations: 117.8 kB / 0.6007 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.161, allocations: 3.906 kB / 0.6007 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.884e-05/0.1611, allocations: 117 kB / 0.6008 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.275e-05/0.1612, allocations: 188.2 kB / 0.601 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.25e-05/0.1613, allocations: 184.3 kB / 0.6011 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.105e-05/0.1613, allocations: 180.2 kB / 0.6013 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1616, allocations: 405.2 kB / 0.6017 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-05/0.1616, allocations: 112.9 kB / 0.6018 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.1617, allocations: 101 kB / 0.6019 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.085e-05/0.1617, allocations: 180.3 kB / 0.6021 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.367e-05/0.1618, allocations: 188.2 kB / 0.6022 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.582e-05/0.1618, allocations: 176.3 kB / 0.6024 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.043e-05/0.1619, allocations: 180.2 kB / 0.6026 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.1621, allocations: 311.8 kB / 0.6029 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.1621, allocations: 182 kB / 0.6031 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2488/0.411, allocations: 180.3 kB / 0.6032 GB, free: 44.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.4112, allocations: 104.3 kB / 0.6033 GB, free: 44.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.4112, allocations: 187.5 kB / 0.6035 GB, free: 44.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.4112, allocations: 107.4 kB / 0.6036 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.629e-05/0.4113, allocations: 88.19 kB / 0.6037 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4113, allocations: 0.6562 kB / 0.6037 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003052/0.4116, allocations: 18.62 kB / 0.6037 GB, free: 44.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0003528/0.4119, allocations: 0.8295 MB / 0.6045 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.887e-05/0.412, allocations: 9.578 kB / 0.6045 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.412, allocations: 1.312 kB / 0.6045 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.412, allocations: 1.969 kB / 0.6045 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.4124, allocations: 460.3 kB / 0.605 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.413, allocations: 1.319 MB / 0.6063 GB, free: 41.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.081e-05/0.4131, allocations: 0.675 MB / 0.6069 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.4132, allocations: 11.3 kB / 0.6069 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.4132, allocations: 10.69 kB / 0.6069 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.4132, allocations: 0 / 0.6069 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.4297, allocations: 1.512 MB / 0.6084 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.731, allocations: 2.719 kB / 0.6084 GB, free: 40.84 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)