Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.005371/0.005371, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001291/0.001291, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.9495/0.9495, allocations: 143 MB / 433.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 0.5951 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3389, allocations: 82.03 MB / 0.6752 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004352/0.3433, allocations: 3.297 MB / 0.6784 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.3435, allocations: 47.44 kB / 0.6784 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.3435, allocations: 0 / 0.6784 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.812e-05/0.3436, allocations: 7.922 kB / 0.6785 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.496e-05/0.3437, allocations: 15.33 kB / 0.6785 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.3442, allocations: 184.3 kB / 0.6786 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.528e-05/0.3442, allocations: 41 kB / 0.6787 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.3443, allocations: 1.094 kB / 0.6787 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.3443, allocations: 21.55 kB / 0.6787 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.3444, allocations: 9.641 kB / 0.6787 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.3444, allocations: 1.031 kB / 0.6787 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.3448, allocations: 172.8 kB / 0.6789 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.3448, allocations: 9.656 kB / 0.6789 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.3448, allocations: 16.62 kB / 0.6789 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.3451, allocations: 135.8 kB / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3451, allocations: 0 / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3451, allocations: 0 / 0.679 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.3451, allocations: 0 / 0.679 GB, free: 14.1 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.0003635/0.3455, allocations: 351 kB / 0.6794 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3455, allocations: 10.03 kB / 0.6794 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.3456, allocations: 32.06 kB / 0.6794 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.3456, allocations: 2.219 kB / 0.6794 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.3457, allocations: 165.6 kB / 0.6796 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.3458, allocations: 35.36 kB / 0.6796 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.3458, allocations: 5.188 kB / 0.6796 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.3459, allocations: 38.97 kB / 0.6796 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.3459, allocations: 0 / 0.6796 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.346, allocations: 5.25 kB / 0.6796 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.346, allocations: 5.141 kB / 0.6797 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.259e-05/0.346, allocations: 13.28 kB / 0.6797 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.3466, allocations: 0.5922 MB / 0.6802 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/0.3466, allocations: 29.34 kB / 0.6803 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.28e-05/0.3467, allocations: 4.859 kB / 0.6803 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.3469, allocations: 338.3 kB / 0.6806 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.3469, allocations: 39.66 kB / 0.6806 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3469, allocations: 0 / 0.6806 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.347, allocations: 40.55 kB / 0.6807 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.3471, allocations: 59.38 kB / 0.6807 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.074e-05/0.3472, allocations: 100.4 kB / 0.6808 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.3472, allocations: 25.7 kB / 0.6809 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.3472, allocations: 89.77 kB / 0.6809 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.23e-06/0.3472, allocations: 1.281 kB / 0.6809 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.3473, allocations: 16.97 kB / 0.681 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.3474, allocations: 315.9 kB / 0.6813 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.3474, allocations: 6.125 kB / 0.6813 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.3474, allocations: 21.92 kB / 0.6813 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.3475, allocations: 16.97 kB / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3475, allocations: 0 / 0.6813 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.69e-05/0.3476, allocations: 58.48 kB / 0.6814 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3476, allocations: 4.781 kB / 0.6814 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3476, allocations: 5.094 kB / 0.6814 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.3476, allocations: 0 / 0.6814 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.061e-05/0.3477, allocations: 5.75 kB / 0.6814 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.3477, allocations: 0 / 0.6814 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.3477, allocations: 1.156 kB / 0.6814 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.3477, allocations: 6.234 kB / 0.6814 GB, free: 11.46 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 6.534e-05/0.3478, allocations: 119.2 kB / 0.6815 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.3478, allocations: 2.469 kB / 0.6815 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.397e-05/0.3479, allocations: 115.2 kB / 0.6816 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.359e-05/0.348, allocations: 185.3 kB / 0.6818 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.557e-05/0.348, allocations: 185.4 kB / 0.682 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.036e-05/0.3481, allocations: 177.4 kB / 0.6821 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.3483, allocations: 412.4 kB / 0.6825 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.164e-05/0.3483, allocations: 105 kB / 0.6826 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.3484, allocations: 110 kB / 0.6827 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.084e-05/0.3484, allocations: 177.5 kB / 0.6829 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/0.3485, allocations: 181.4 kB / 0.6831 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-05/0.3485, allocations: 185.3 kB / 0.6832 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-05/0.3486, allocations: 177.5 kB / 0.6834 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.3487, allocations: 312 kB / 0.6837 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.3488, allocations: 187.2 kB / 0.6839 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/0.3488, allocations: 185.2 kB / 0.6841 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.349, allocations: 112 kB / 0.6842 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.3491, allocations: 189.4 kB / 0.6844 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.3491, allocations: 102 kB / 0.6844 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.964e-05/0.3491, allocations: 80 kB / 0.6845 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3491, allocations: 0 / 0.6845 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002821/0.3494, allocations: 43.95 kB / 0.6846 GB, free: 8.031 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.0004788/0.3499, allocations: 0.8643 MB / 0.6854 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.519e-05/0.35, allocations: 14.52 kB / 0.6854 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.35, allocations: 0 / 0.6854 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.35, allocations: 4 kB / 0.6854 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.0003998/0.3504, allocations: 460.2 kB / 0.6859 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008884/0.3513, allocations: 1.33 MB / 0.6872 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.3515, allocations: 0.676 MB / 0.6878 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.3516, allocations: 13.91 kB / 0.6878 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.3516, allocations: 9.625 kB / 0.6878 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.3516, allocations: 0 / 0.6878 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.3689, allocations: 2.218 MB / 0.69 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.013/7.382, allocations: 14.03 kB / 0.69 GB, free: 3.5 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_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_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)