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: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009808/0.0009808, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008753/0.008753, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.328 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 1.134/1.134, allocations: 143.2 MB / 434.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 8.281 kB / 0.5164 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1945, allocations: 83.41 MB / 0.5978 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005117/0.1996, allocations: 3.678 MB / 0.6014 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000195/0.1999, allocations: 159.5 kB / 0.6016 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.1999, allocations: 0 / 0.6016 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.2, allocations: 0 / 0.6016 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.2001, allocations: 23.91 kB / 0.6016 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.2004, allocations: 75.7 kB / 0.6017 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.2005, allocations: 59.81 kB / 0.6017 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.2006, allocations: 0 / 0.6017 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.2006, allocations: 19.92 kB / 0.6017 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.2007, allocations: 11.98 kB / 0.6017 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.2007, allocations: 4 kB / 0.6018 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.201, allocations: 71.78 kB / 0.6018 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.201, allocations: 11.98 kB / 0.6018 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.2011, allocations: 33.64 kB / 0.6019 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.2012, allocations: 47.94 kB / 0.6019 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2012, allocations: 0 / 0.6019 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2012, allocations: 0 / 0.6019 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2012, allocations: 0 / 0.6019 GB, free: 3.496 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.0004484/0.2017, allocations: 335.7 kB / 0.6022 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2017, allocations: 8.031 kB / 0.6022 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.2018, allocations: 8.922 kB / 0.6022 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.202, allocations: 168.3 kB / 0.6024 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-05/0.202, allocations: 26.27 kB / 0.6024 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.2021, allocations: 384 / 0.6024 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2022, allocations: 49.61 kB / 0.6025 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2023, allocations: 0 / 0.6025 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.2023, allocations: 4 kB / 0.6025 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.2023, allocations: 0 / 0.6025 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.761e-05/0.2024, allocations: 15.98 kB / 0.6025 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.203, allocations: 342 kB / 0.6028 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.142e-05/0.203, allocations: 18.58 kB / 0.6028 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.203, allocations: 4.859 kB / 0.6028 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.409e-05/0.2031, allocations: 89.16 kB / 0.6029 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.2032, allocations: 34.56 kB / 0.603 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2032, allocations: 7.938 kB / 0.603 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.2034, allocations: 33.64 kB / 0.603 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.2034, allocations: 51.41 kB / 0.6031 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.2035, allocations: 105.8 kB / 0.6032 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2035, allocations: 25.7 kB / 0.6032 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.2036, allocations: 91.97 kB / 0.6033 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.835e-06/0.2036, allocations: 3.906 kB / 0.6033 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.2037, allocations: 17.72 kB / 0.6033 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2038, allocations: 322.9 kB / 0.6036 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.2038, allocations: 4 kB / 0.6036 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/0.2039, allocations: 9.719 kB / 0.6036 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.2039, allocations: 29.64 kB / 0.6036 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2039, allocations: 0 / 0.6036 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.536e-05/0.204, allocations: 41.7 kB / 0.6037 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.204, allocations: 12.06 kB / 0.6037 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.204, allocations: 3.984 kB / 0.6037 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2041, allocations: 0 / 0.6037 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.165e-05/0.2041, allocations: 7.938 kB / 0.6037 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.2041, allocations: 7.984 kB / 0.6037 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.2042, allocations: 0 / 0.6037 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.2042, allocations: 0 / 0.6037 GB, free: 1.379 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 9.458e-05/0.2043, allocations: 117.8 kB / 0.6038 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.2043, allocations: 0 / 0.6038 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.2045, allocations: 128.9 kB / 0.6039 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.637e-05/0.2046, allocations: 180.2 kB / 0.6041 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.327e-05/0.2046, allocations: 176.3 kB / 0.6043 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.978e-05/0.2047, allocations: 192.3 kB / 0.6045 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.205, allocations: 409.1 kB / 0.6049 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.3272/0.5322, allocations: 109 kB / 0.605 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.5323, allocations: 105.7 kB / 0.6051 GB, free: 42.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.842e-05/0.5324, allocations: 176.3 kB / 0.6052 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.5324, allocations: 180.9 kB / 0.6054 GB, free: 41.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.642e-05/0.5324, allocations: 178.8 kB / 0.6056 GB, free: 41.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.293e-05/0.5324, allocations: 181.8 kB / 0.6057 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.5326, allocations: 307 kB / 0.606 GB, free: 41.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.5326, allocations: 188.9 kB / 0.6062 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.5327, allocations: 180.1 kB / 0.6064 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.5329, allocations: 110.1 kB / 0.6065 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.5329, allocations: 185 kB / 0.6067 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.5329, allocations: 106.2 kB / 0.6068 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.533, allocations: 87.44 kB / 0.6069 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.533, allocations: 0 / 0.6069 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003029/0.5333, allocations: 15.55 kB / 0.6069 GB, free: 40.18 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.0002421/0.5336, allocations: 195 kB / 0.6071 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.036e-05/0.5337, allocations: 10.58 kB / 0.6071 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5337, allocations: 0.875 kB / 0.6071 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.544e-06/0.5337, allocations: 4.469 kB / 0.6071 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.534, allocations: 0.5308 MB / 0.6076 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.5343, allocations: 188.1 kB / 0.6078 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.821e-05/0.5344, allocations: 0.6755 MB / 0.6084 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.136e-05/0.5344, allocations: 4.375 kB / 0.6084 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.5345, allocations: 10.94 kB / 0.6084 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.5345, allocations: 6.219 kB / 0.6085 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.002883/0.5374, allocations: 0.6102 MB / 0.609 GB, free: 38.62 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)