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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.008665/0.008665, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.002289/0.002289, allocations: 195 kB / 16.67 MB, free: 6.352 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.018/1.018, allocations: 143.3 MB / 433.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 63.91 kB / 0.5953 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3459, allocations: 82.03 MB / 0.6754 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004883/0.3508, allocations: 4.023 MB / 0.6793 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000201/0.351, allocations: 158.2 kB / 0.6795 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.3511, allocations: 0 / 0.6795 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.298e-05/0.3512, allocations: 9.047 kB / 0.6795 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.162e-05/0.3513, allocations: 6.344 kB / 0.6795 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.3516, allocations: 78.81 kB / 0.6796 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.635e-05/0.3517, allocations: 37.31 kB / 0.6796 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.3517, allocations: 5.859 kB / 0.6796 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.3518, allocations: 20.73 kB / 0.6796 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.3518, allocations: 10.61 kB / 0.6796 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.3518, allocations: 1.188 kB / 0.6796 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.352, allocations: 60.39 kB / 0.6797 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.3521, allocations: 3.312 kB / 0.6797 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.3521, allocations: 12.23 kB / 0.6797 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.3522, allocations: 42.86 kB / 0.6797 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.3523, allocations: 0 / 0.6797 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3523, allocations: 4 kB / 0.6798 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.3523, allocations: 0 / 0.6798 GB, free: 13.47 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003908/0.3527, allocations: 342.1 kB / 0.6801 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3527, allocations: 12.53 kB / 0.6801 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.3528, allocations: 35.94 kB / 0.6801 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.3528, allocations: 2.281 kB / 0.6801 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3529, allocations: 161.3 kB / 0.6803 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.353, allocations: 28.27 kB / 0.6803 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.353, allocations: 5.469 kB / 0.6803 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.3531, allocations: 43.34 kB / 0.6804 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3531, allocations: 3.984 kB / 0.6804 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.3532, allocations: 0 / 0.6804 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.3532, allocations: 5.156 kB / 0.6804 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.3532, allocations: 13.34 kB / 0.6804 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.3536, allocations: 333 kB / 0.6807 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.161e-05/0.3537, allocations: 28.72 kB / 0.6807 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.3537, allocations: 6.016 kB / 0.6807 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.044e-05/0.3538, allocations: 87.17 kB / 0.6808 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3539, allocations: 30.56 kB / 0.6808 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 3.115e-06/0.3539, allocations: 1.219 kB / 0.6808 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.354, allocations: 42.98 kB / 0.6809 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.354, allocations: 52.53 kB / 0.6809 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.3541, allocations: 104.1 kB / 0.681 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3542, allocations: 29.64 kB / 0.6811 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.3542, allocations: 89.27 kB / 0.6811 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.172e-06/0.3542, allocations: 4.984 kB / 0.6811 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.3543, allocations: 17 kB / 0.6812 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3544, allocations: 315.8 kB / 0.6815 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.3544, allocations: 7.203 kB / 0.6815 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/0.3545, allocations: 21.41 kB / 0.6815 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/0.3545, allocations: 20.44 kB / 0.6815 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3545, allocations: 0 / 0.6815 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.013e-05/0.3546, allocations: 54.2 kB / 0.6816 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.3546, allocations: 8.5 kB / 0.6816 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3546, allocations: 0 / 0.6816 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3546, allocations: 1.469 kB / 0.6816 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-05/0.3547, allocations: 8.766 kB / 0.6816 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3547, allocations: 7.984 kB / 0.6816 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.3547, allocations: 5 kB / 0.6816 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3547, allocations: 6.281 kB / 0.6816 GB, free: 11.43 MB / 0.5137 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.987e-05/0.3548, allocations: 116.2 kB / 0.6817 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.3549, allocations: 1.125 kB / 0.6817 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.355, allocations: 124.2 kB / 0.6818 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-05/0.3551, allocations: 184.3 kB / 0.682 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-05/0.3551, allocations: 177.5 kB / 0.6822 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.958e-05/0.3552, allocations: 181.6 kB / 0.6823 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.3555, allocations: 408.7 kB / 0.6827 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.585e-05/0.3555, allocations: 104.9 kB / 0.6828 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.3556, allocations: 106.3 kB / 0.6829 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.561e-05/0.3557, allocations: 189.5 kB / 0.6831 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/0.3557, allocations: 181.3 kB / 0.6833 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.795e-05/0.3558, allocations: 177.4 kB / 0.6835 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-05/0.3559, allocations: 181.4 kB / 0.6836 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.3561, allocations: 314.9 kB / 0.6839 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.3562, allocations: 179.3 kB / 0.6841 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.81e-05/0.3563, allocations: 182.5 kB / 0.6843 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.3564, allocations: 115.1 kB / 0.6844 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.3565, allocations: 177.4 kB / 0.6846 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/0.3566, allocations: 110.1 kB / 0.6847 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.3566, allocations: 80.72 kB / 0.6847 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3566, allocations: 0 / 0.6847 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002386/0.3569, allocations: 27.2 kB / 0.6848 GB, free: 8.008 MB / 0.5137 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.0005389/0.3574, allocations: 0.8248 MB / 0.6856 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.539e-05/0.3575, allocations: 18.47 kB / 0.6856 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3575, allocations: 0 / 0.6856 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.3575, allocations: 1.031 kB / 0.6856 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.3579, allocations: 460.1 kB / 0.686 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.359, allocations: 1.33 MB / 0.6873 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3593, allocations: 0.6764 MB / 0.688 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.885e-05/0.3593, allocations: 3.688 kB / 0.688 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.3594, allocations: 13.81 kB / 0.688 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.3594, allocations: 4 kB / 0.688 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.3803, allocations: 1.525 MB / 0.6895 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.974, allocations: 3.922 kB / 0.6895 GB, free: 3.824 MB / 0.5137 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)