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.001024/0.001025, allocations: 104.8 kB / 15.99 MB, free: 6.355 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.0009709/0.0009709, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.349/1.349, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.8775/0.8775, allocations: 143.1 MB / 433.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 63.89 kB / 0.5143 GB, free: 15.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3479, allocations: 82.02 MB / 0.5944 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005109/0.353, allocations: 4.058 MB / 0.5984 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001609/0.3532, allocations: 161 kB / 0.5985 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.3533, allocations: 1.438 kB / 0.5985 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.3534, allocations: 3.984 kB / 0.5985 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.957e-05/0.3535, allocations: 15.92 kB / 0.5985 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.3539, allocations: 78.59 kB / 0.5986 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.007e-05/0.3539, allocations: 27.92 kB / 0.5987 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.354, allocations: 5.406 kB / 0.5987 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.354, allocations: 19.91 kB / 0.5987 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.3541, allocations: 15.94 kB / 0.5987 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.3541, allocations: 0.75 kB / 0.5987 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.3543, allocations: 59.8 kB / 0.5987 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.3544, allocations: 9.484 kB / 0.5988 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.3544, allocations: 7.938 kB / 0.5988 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.821e-05/0.3545, allocations: 27.97 kB / 0.5988 GB, free: 11.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3545, allocations: 0 / 0.5988 GB, free: 11.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3545, allocations: 1.312 kB / 0.5988 GB, free: 11.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3545, allocations: 0 / 0.5988 GB, free: 11.89 MB / 446.1 MB 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.0003546/0.3549, allocations: 347.2 kB / 0.5991 GB, free: 11.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3549, allocations: 12.03 kB / 0.5991 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.355, allocations: 4.875 kB / 0.5991 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.42e-05/0.3551, allocations: 161.1 kB / 0.5993 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.3552, allocations: 37.39 kB / 0.5993 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.3552, allocations: 384 / 0.5993 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.3553, allocations: 45.56 kB / 0.5994 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3553, allocations: 0 / 0.5994 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3553, allocations: 4 kB / 0.5994 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.3554, allocations: 0 / 0.5994 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.494e-05/0.3554, allocations: 15.98 kB / 0.5994 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.3558, allocations: 335.4 kB / 0.5997 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.79e-05/0.3559, allocations: 15.67 kB / 0.5997 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.3559, allocations: 12.86 kB / 0.5997 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.072e-05/0.356, allocations: 86.09 kB / 0.5998 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.356, allocations: 32 kB / 0.5999 GB, free: 10.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.356, allocations: 0 / 0.5999 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.3562, allocations: 37.7 kB / 0.5999 GB, free: 10.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.3562, allocations: 56.83 kB / 0.5999 GB, free: 10.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.084e-05/0.3563, allocations: 105.8 kB / 0.6 GB, free: 10.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.3563, allocations: 27.05 kB / 0.6001 GB, free: 10.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.3563, allocations: 84.05 kB / 0.6001 GB, free: 10.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/0.3563, allocations: 7.891 kB / 0.6002 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.3564, allocations: 19.16 kB / 0.6002 GB, free: 10.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.3564, allocations: 318.7 kB / 0.6005 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.3564, allocations: 4 kB / 0.6005 GB, free: 9.918 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.3564, allocations: 18.98 kB / 0.6005 GB, free: 9.895 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/0.3565, allocations: 22.47 kB / 0.6005 GB, free: 9.867 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3565, allocations: 1.25 kB / 0.6005 GB, free: 9.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.339e-05/0.3566, allocations: 49.62 kB / 0.6006 GB, free: 9.812 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3566, allocations: 5.344 kB / 0.6006 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3566, allocations: 0 / 0.6006 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3566, allocations: 4 kB / 0.6006 GB, free: 9.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.178e-05/0.3567, allocations: 5.375 kB / 0.6006 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3567, allocations: 0 / 0.6006 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.3567, allocations: 4.219 kB / 0.6006 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3567, allocations: 4 kB / 0.6006 GB, free: 9.793 MB / 446.1 MB 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 5.282e-05/0.3568, allocations: 119.3 kB / 0.6007 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3568, allocations: 8 kB / 0.6007 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.738e-05/0.3569, allocations: 122.1 kB / 0.6008 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.3569, allocations: 185.4 kB / 0.601 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.411e-05/0.3569, allocations: 184.2 kB / 0.6012 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/0.357, allocations: 181.2 kB / 0.6014 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.3571, allocations: 410.5 kB / 0.6017 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.3571, allocations: 104.9 kB / 0.6018 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.434e-05/0.3572, allocations: 106.3 kB / 0.6019 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.416e-05/0.3572, allocations: 184.2 kB / 0.6021 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.3572, allocations: 181.8 kB / 0.6023 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-05/0.3572, allocations: 180.2 kB / 0.6025 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.557e-05/0.3573, allocations: 177.6 kB / 0.6026 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.074e-05/0.3573, allocations: 312.4 kB / 0.6029 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.3574, allocations: 183.2 kB / 0.6031 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.3574, allocations: 181.2 kB / 0.6033 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3576, allocations: 105 kB / 0.6034 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.3576, allocations: 185.8 kB / 0.6036 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.3576, allocations: 108.9 kB / 0.6037 GB, free: 6.438 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.776e-05/0.3576, allocations: 84.44 kB / 0.6037 GB, free: 6.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3577, allocations: 0 / 0.6037 GB, free: 6.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.3579, allocations: 12 kB / 0.6038 GB, free: 6.344 MB / 446.1 MB 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.0002409/0.3581, allocations: 205.9 kB / 0.604 GB, free: 6.137 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.739e-05/0.3582, allocations: 15.98 kB / 0.604 GB, free: 6.121 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3582, allocations: 0 / 0.604 GB, free: 6.121 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.776e-06/0.3582, allocations: 7.938 kB / 0.604 GB, free: 6.113 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.3585, allocations: 457.9 kB / 0.6044 GB, free: 5.664 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002315/0.3588, allocations: 205.6 kB / 0.6046 GB, free: 5.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.3589, allocations: 0.6729 MB / 0.6053 GB, free: 4.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.216e-05/0.3589, allocations: 11.44 kB / 0.6053 GB, free: 4.723 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3589, allocations: 1.562 kB / 0.6053 GB, free: 4.723 MB / 446.1 MB Notification: Performance of Templates: time 0.002044/0.361, allocations: 0.7652 MB / 0.606 GB, free: 4 MB / 446.1 MB 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)