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.001423/0.001423, allocations: 115.4 kB / 16.37 MB, free: 6.016 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.00153/0.00153, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.01 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.8235/0.8235, allocations: 143 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.89 kB / 0.5156 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3483, allocations: 82.03 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004524/0.3529, allocations: 4.027 MB / 0.5996 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001613/0.3531, allocations: 157.8 kB / 0.5998 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.3531, allocations: 0 / 0.5998 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.878e-05/0.3532, allocations: 3.938 kB / 0.5998 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.3533, allocations: 13.47 kB / 0.5998 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.3537, allocations: 82.86 kB / 0.5999 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.123e-05/0.3538, allocations: 31.86 kB / 0.5999 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.961e-05/0.3538, allocations: 0 / 0.5999 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.3539, allocations: 27.91 kB / 0.5999 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.3539, allocations: 4 kB / 0.5999 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.3539, allocations: 5.344 kB / 0.5999 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.3541, allocations: 59.8 kB / 0.6 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.3542, allocations: 7.984 kB / 0.6 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.3542, allocations: 8.562 kB / 0.6 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3543, allocations: 45.45 kB / 0.6 GB, free: 11.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3543, allocations: 3.938 kB / 0.6 GB, free: 11.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3543, allocations: 0 / 0.6 GB, free: 11.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3544, allocations: 0 / 0.6 GB, free: 11.69 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.0003149/0.3547, allocations: 336.8 kB / 0.6004 GB, free: 11.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.3547, allocations: 8.031 kB / 0.6004 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3548, allocations: 4.938 kB / 0.6004 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.518e-05/0.3548, allocations: 165.1 kB / 0.6005 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/0.3549, allocations: 27.77 kB / 0.6006 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.3549, allocations: 8.359 kB / 0.6006 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.355, allocations: 45.62 kB / 0.6006 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.355, allocations: 0 / 0.6006 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.355, allocations: 1 kB / 0.6006 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.3551, allocations: 0 / 0.6006 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.3551, allocations: 21.2 kB / 0.6006 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.3554, allocations: 330.7 kB / 0.6009 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.085e-05/0.3555, allocations: 29.48 kB / 0.601 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.3555, allocations: 4.859 kB / 0.601 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.043e-05/0.3556, allocations: 85.17 kB / 0.6011 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.3556, allocations: 30.56 kB / 0.6011 GB, free: 10.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3556, allocations: 0 / 0.6011 GB, free: 10.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001241/0.3557, allocations: 43.06 kB / 0.6011 GB, free: 10.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.3557, allocations: 55.41 kB / 0.6012 GB, free: 10.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.173e-05/0.3558, allocations: 97.84 kB / 0.6013 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.3558, allocations: 26.55 kB / 0.6013 GB, free: 10.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.3558, allocations: 99.2 kB / 0.6014 GB, free: 10.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-06/0.3559, allocations: 3.906 kB / 0.6014 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.3559, allocations: 13.72 kB / 0.6014 GB, free: 10.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.857e-05/0.3559, allocations: 324.1 kB / 0.6017 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.356, allocations: 4 kB / 0.6017 GB, free: 9.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.356, allocations: 15.16 kB / 0.6017 GB, free: 9.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.547e-05/0.356, allocations: 23.09 kB / 0.6018 GB, free: 9.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.356, allocations: 0 / 0.6018 GB, free: 9.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.322e-05/0.3561, allocations: 45.69 kB / 0.6018 GB, free: 9.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.3561, allocations: 11.5 kB / 0.6018 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3561, allocations: 3.938 kB / 0.6018 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3561, allocations: 0 / 0.6018 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.976e-05/0.3562, allocations: 9.359 kB / 0.6018 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3562, allocations: 7.938 kB / 0.6018 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.3562, allocations: 3.938 kB / 0.6018 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.3562, allocations: 0.9062 kB / 0.6018 GB, free: 9.598 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 4.322e-05/0.3563, allocations: 115 kB / 0.602 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.3563, allocations: 0 / 0.602 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.019e-05/0.3564, allocations: 133.3 kB / 0.6021 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.3564, allocations: 184.2 kB / 0.6023 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.259e-05/0.3564, allocations: 181.6 kB / 0.6024 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.3565, allocations: 180.3 kB / 0.6026 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.3566, allocations: 410.4 kB / 0.603 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.3566, allocations: 105 kB / 0.6031 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.43e-05/0.3566, allocations: 110.3 kB / 0.6032 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.372e-05/0.3567, allocations: 176.3 kB / 0.6034 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.3567, allocations: 185.2 kB / 0.6035 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.306e-05/0.3567, allocations: 185.4 kB / 0.6037 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.19e-05/0.3568, allocations: 176.3 kB / 0.6039 GB, free: 7.371 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.903e-05/0.3568, allocations: 314.6 kB / 0.6042 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.3569, allocations: 182 kB / 0.6044 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.3569, allocations: 181.6 kB / 0.6045 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.357, allocations: 105 kB / 0.6046 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.3571, allocations: 189.7 kB / 0.6048 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.3571, allocations: 101 kB / 0.6049 GB, free: 6.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.801e-05/0.3571, allocations: 87.27 kB / 0.605 GB, free: 6.164 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3571, allocations: 0.6875 kB / 0.605 GB, free: 6.164 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.3574, allocations: 13.12 kB / 0.605 GB, free: 6.152 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.0001631/0.3575, allocations: 199.5 kB / 0.6052 GB, free: 5.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.597e-05/0.3576, allocations: 17.31 kB / 0.6052 GB, free: 5.934 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3576, allocations: 0 / 0.6052 GB, free: 5.934 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3576, allocations: 0 / 0.6052 GB, free: 5.934 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.3579, allocations: 458.6 kB / 0.6056 GB, free: 5.484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.3581, allocations: 185.8 kB / 0.6058 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.867e-05/0.3582, allocations: 0.6817 MB / 0.6065 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.429e-05/0.3583, allocations: 5.031 kB / 0.6065 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.3583, allocations: 8.125 kB / 0.6065 GB, free: 4.559 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3583, allocations: 0 / 0.6065 GB, free: 4.559 MB / 446.1 MB Notification: Performance of Templates: time 0.002406/0.3607, allocations: 0.6396 MB / 0.6071 GB, free: 3.965 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)