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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.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.0008514/0.0008515, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0009254/0.0009255, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9941/0.9941, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004752, allocations: 8 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1767, allocations: 83.41 MB / 0.5975 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004475/0.1812, allocations: 3.287 MB / 0.6007 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001807/0.1814, allocations: 151.6 kB / 0.6009 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.1814, allocations: 0 / 0.6009 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.33e-05/0.1815, allocations: 3.938 kB / 0.6009 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.019e-05/0.1816, allocations: 7.984 kB / 0.6009 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1819, allocations: 63.77 kB / 0.601 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.02e-05/0.182, allocations: 43.84 kB / 0.601 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.1821, allocations: 8 kB / 0.601 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.1821, allocations: 15.97 kB / 0.601 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.145e-05/0.1822, allocations: 15.92 kB / 0.601 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1822, allocations: 4 kB / 0.601 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.1827, allocations: 151.6 kB / 0.6012 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.1827, allocations: 4 kB / 0.6012 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.1828, allocations: 25.7 kB / 0.6012 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.028e-05/0.1829, allocations: 24.27 kB / 0.6012 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1829, allocations: 7.984 kB / 0.6012 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1829, allocations: 3.938 kB / 0.6012 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1829, allocations: 0 / 0.6012 GB, free: 3.852 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.0003933/0.1833, allocations: 325.8 kB / 0.6016 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1833, allocations: 12.03 kB / 0.6016 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.1834, allocations: 38.53 kB / 0.6016 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.1834, allocations: 7.859 kB / 0.6016 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1836, allocations: 163 kB / 0.6018 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.49e-05/0.1836, allocations: 33.69 kB / 0.6018 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1836, allocations: 8 kB / 0.6018 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1838, allocations: 37.69 kB / 0.6018 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1838, allocations: 0 / 0.6018 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1838, allocations: 4 kB / 0.6018 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.1838, allocations: 0 / 0.6018 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.381e-05/0.1839, allocations: 19.94 kB / 0.6019 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.1843, allocations: 330.1 kB / 0.6022 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.398e-05/0.1843, allocations: 22.52 kB / 0.6022 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.1843, allocations: 8.922 kB / 0.6022 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.74e-05/0.1844, allocations: 85.09 kB / 0.6023 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1845, allocations: 34.56 kB / 0.6023 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1845, allocations: 0 / 0.6023 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.1846, allocations: 45.59 kB / 0.6024 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.1847, allocations: 51.53 kB / 0.6024 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.1847, allocations: 109.8 kB / 0.6025 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1848, allocations: 29.7 kB / 0.6026 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.1848, allocations: 84.05 kB / 0.6026 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.1848, allocations: 3.906 kB / 0.6026 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.1848, allocations: 3.938 kB / 0.6026 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.185, allocations: 314.8 kB / 0.6029 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.185, allocations: 8 kB / 0.6029 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.187e-05/0.185, allocations: 17.72 kB / 0.603 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.876e-05/0.185, allocations: 4 kB / 0.603 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.185, allocations: 0 / 0.603 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.216e-05/0.1851, allocations: 49.62 kB / 0.603 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1851, allocations: 8 kB / 0.603 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1852, allocations: 3.938 kB / 0.603 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1852, allocations: 3.953 kB / 0.603 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.325e-05/0.1852, allocations: 7.984 kB / 0.603 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1852, allocations: 64 / 0.603 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.1853, allocations: 8 kB / 0.603 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1853, allocations: 0 / 0.603 GB, free: 1.734 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/0.1854, allocations: 113.8 kB / 0.6032 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.1854, allocations: 0 / 0.6032 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1855, allocations: 124.6 kB / 0.6033 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.276e-05/0.1856, allocations: 180.2 kB / 0.6034 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.437e-05/0.1856, allocations: 188.2 kB / 0.6036 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.857e-05/0.1857, allocations: 180.3 kB / 0.6038 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.1859, allocations: 401.2 kB / 0.6042 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.561e-05/0.186, allocations: 109 kB / 0.6043 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.186, allocations: 105 kB / 0.6044 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.571e-05/0.1861, allocations: 184.2 kB / 0.6046 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2694/0.4555, allocations: 176.3 kB / 0.6047 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.582e-05/0.4555, allocations: 179.2 kB / 0.6049 GB, free: 41.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.393e-05/0.4556, allocations: 181.2 kB / 0.6051 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.5e-05/0.4557, allocations: 314.2 kB / 0.6054 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.4557, allocations: 182.7 kB / 0.6055 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.4558, allocations: 182.1 kB / 0.6057 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.456, allocations: 113.6 kB / 0.6058 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.456, allocations: 182.1 kB / 0.606 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.456, allocations: 107.2 kB / 0.6061 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.631e-05/0.4561, allocations: 85.11 kB / 0.6062 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4561, allocations: 0 / 0.6062 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003157/0.4564, allocations: 18.92 kB / 0.6062 GB, free: 39.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002707/0.4567, allocations: 0.8203 MB / 0.607 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.21e-05/0.4568, allocations: 11.84 kB / 0.607 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4568, allocations: 0 / 0.607 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.4568, allocations: 6.406 kB / 0.607 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.4572, allocations: 0.5207 MB / 0.6075 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.4576, allocations: 228.8 kB / 0.6077 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.4577, allocations: 0.6758 MB / 0.6084 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.215e-05/0.4577, allocations: 6.734 kB / 0.6084 GB, free: 37.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.4578, allocations: 10.69 kB / 0.6084 GB, free: 37.53 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.4578, allocations: 2.156 kB / 0.6084 GB, free: 37.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.4695, allocations: 1.267 MB / 0.6097 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.4697, allocations: 227.3 kB / 0.6099 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.136, allocations: 0 / 0.6099 GB, free: 37.23 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: