Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.00519/0.00519, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.00124/0.00124, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.27/1.27, 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.8373/0.8373, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 64.78 kB / 0.595 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.133, allocations: 82.04 MB / 0.6751 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005051/0.1381, allocations: 3.728 MB / 0.6788 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001921/0.1383, allocations: 155.5 kB / 0.6789 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.1384, allocations: 0 / 0.6789 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.855e-05/0.1385, allocations: 3.984 kB / 0.6789 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.1385, allocations: 7.922 kB / 0.6789 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.1389, allocations: 91.69 kB / 0.679 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.935e-05/0.139, allocations: 35.91 kB / 0.6791 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.139, allocations: 3.984 kB / 0.6791 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.1391, allocations: 15.88 kB / 0.6791 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.1391, allocations: 15.97 kB / 0.6791 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.1392, allocations: 0 / 0.6791 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005199/0.1397, allocations: 183.4 kB / 0.6793 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.1397, allocations: 11.97 kB / 0.6793 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.1398, allocations: 15.94 kB / 0.6793 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1399, allocations: 44.11 kB / 0.6793 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1399, allocations: 0 / 0.6793 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1399, allocations: 0 / 0.6793 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1399, allocations: 0 / 0.6793 GB, free: 6.531 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.0003534/0.1403, allocations: 337.3 kB / 0.6797 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1403, allocations: 12.03 kB / 0.6797 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.1404, allocations: 34.75 kB / 0.6797 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.1404, allocations: 4.875 kB / 0.6797 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.839e-05/0.1405, allocations: 168.3 kB / 0.6799 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.1406, allocations: 34.27 kB / 0.6799 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.1406, allocations: 4.125 kB / 0.6799 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1407, allocations: 37.69 kB / 0.6799 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1407, allocations: 4 kB / 0.68 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1407, allocations: 4 kB / 0.68 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.1408, allocations: 0 / 0.68 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.1408, allocations: 11.98 kB / 0.68 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.1412, allocations: 342 kB / 0.6803 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.685e-05/0.1413, allocations: 22.52 kB / 0.6803 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.1413, allocations: 8.859 kB / 0.6803 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.339e-05/0.1414, allocations: 85.16 kB / 0.6804 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1414, allocations: 30.56 kB / 0.6804 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1414, allocations: 0 / 0.6804 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.1415, allocations: 45.64 kB / 0.6805 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.1416, allocations: 55.34 kB / 0.6805 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.1417, allocations: 105.8 kB / 0.6806 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1417, allocations: 25.7 kB / 0.6807 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.1417, allocations: 84.09 kB / 0.6807 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-06/0.1417, allocations: 0 / 0.6807 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.1418, allocations: 21.7 kB / 0.6808 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.1419, allocations: 318.8 kB / 0.6811 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.1419, allocations: 4.125 kB / 0.6811 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.1419, allocations: 17.72 kB / 0.6811 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.142, allocations: 21.7 kB / 0.6811 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.142, allocations: 3.938 kB / 0.6811 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.468e-05/0.142, allocations: 53.58 kB / 0.6812 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1421, allocations: 4 kB / 0.6812 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1421, allocations: 8.062 kB / 0.6812 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1421, allocations: 0 / 0.6812 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.176e-05/0.1421, allocations: 8 kB / 0.6812 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1421, allocations: 0 / 0.6812 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.1422, allocations: 0 / 0.6812 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1422, allocations: 8 kB / 0.6812 GB, free: 4.363 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.783e-05/0.1423, allocations: 113.7 kB / 0.6813 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.1423, allocations: 4 kB / 0.6813 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.754e-05/0.1424, allocations: 128.1 kB / 0.6814 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/0.1425, allocations: 184.2 kB / 0.6816 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.948e-05/0.1425, allocations: 176.3 kB / 0.6818 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.171e-05/0.1426, allocations: 180.2 kB / 0.6819 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.1428, allocations: 413.1 kB / 0.6823 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/0.1428, allocations: 108.9 kB / 0.6824 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.1428, allocations: 108.9 kB / 0.6825 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.783e-05/0.1429, allocations: 176.3 kB / 0.6827 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.143, allocations: 176.3 kB / 0.6829 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.061e-05/0.143, allocations: 180.2 kB / 0.683 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-05/0.1431, allocations: 184.2 kB / 0.6832 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.1432, allocations: 311.7 kB / 0.6835 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.1433, allocations: 178.1 kB / 0.6837 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.1433, allocations: 188.1 kB / 0.6839 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1435, allocations: 109 kB / 0.684 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.1435, allocations: 188.2 kB / 0.6841 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.1436, allocations: 105 kB / 0.6842 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.1436, allocations: 87.27 kB / 0.6843 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1436, allocations: 0 / 0.6843 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002398/0.1439, allocations: 19.88 kB / 0.6844 GB, free: 0.9023 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.0004446/0.1443, allocations: 0.8282 MB / 0.6852 GB, free: 48 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.294e-05/0.1444, allocations: 11.98 kB / 0.6852 GB, free: 36 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.1444, allocations: 0 / 0.6852 GB, free: 36 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-06/0.1444, allocations: 3.938 kB / 0.6852 GB, free: 32 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.1448, allocations: 463.8 kB / 0.6856 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008827/0.1457, allocations: 1.328 MB / 0.6869 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.1459, allocations: 0.6729 MB / 0.6876 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.229e-05/0.146, allocations: 15.86 kB / 0.6876 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.146, allocations: 7.438 kB / 0.6876 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.146, allocations: 0 / 0.6876 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.163, allocations: 1.548 MB / 0.6891 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.165, allocations: 0 / 0.6891 GB, free: 12.04 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_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_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)