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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: 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.00161/0.00161, allocations: 102.8 kB / 16.27 MB, free: 6.414 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.001659/0.001659, allocations: 191 kB / 17.2 MB, free: 5.953 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.472/1.472, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9523/0.9523, allocations: 143.3 MB / 434.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.88 kB / 0.5151 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3432, allocations: 82.03 MB / 0.5952 GB, free: 16.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004257/0.3475, allocations: 4.014 MB / 0.5991 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001444/0.3477, allocations: 156.8 kB / 0.5992 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.3477, allocations: 0 / 0.5992 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.199e-05/0.3478, allocations: 5.469 kB / 0.5992 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/0.3479, allocations: 15.91 kB / 0.5993 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.3482, allocations: 81.09 kB / 0.5993 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.879e-05/0.3483, allocations: 27.86 kB / 0.5994 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.3484, allocations: 4.844 kB / 0.5994 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.682e-05/0.3484, allocations: 19.97 kB / 0.5994 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.3485, allocations: 13.19 kB / 0.5994 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3485, allocations: 0 / 0.5994 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.3487, allocations: 63.73 kB / 0.5995 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.3487, allocations: 9.297 kB / 0.5995 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.3488, allocations: 7.938 kB / 0.5995 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.3489, allocations: 43.95 kB / 0.5995 GB, free: 11.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3489, allocations: 0 / 0.5995 GB, free: 11.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3489, allocations: 1.438 kB / 0.5995 GB, free: 11.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3489, allocations: 0 / 0.5995 GB, free: 11.55 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.0003108/0.3492, allocations: 338.7 kB / 0.5998 GB, free: 11.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.3492, allocations: 8.031 kB / 0.5998 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.3493, allocations: 8.922 kB / 0.5999 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.389e-05/0.3494, allocations: 161.7 kB / 0.6 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.3494, allocations: 34.19 kB / 0.6 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.3494, allocations: 8.312 kB / 0.6001 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3496, allocations: 46.69 kB / 0.6001 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3496, allocations: 0 / 0.6001 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.3496, allocations: 1.031 kB / 0.6001 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.3496, allocations: 4 kB / 0.6001 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.915e-05/0.3497, allocations: 19.92 kB / 0.6001 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.35, allocations: 343.5 kB / 0.6004 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.078e-05/0.3501, allocations: 15.92 kB / 0.6005 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.234e-05/0.3501, allocations: 4.859 kB / 0.6005 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.326e-05/0.3501, allocations: 86.61 kB / 0.6005 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3502, allocations: 34.55 kB / 0.6006 GB, free: 10.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3502, allocations: 0 / 0.6006 GB, free: 10.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.3503, allocations: 42.95 kB / 0.6006 GB, free: 10.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.3503, allocations: 51.41 kB / 0.6007 GB, free: 10.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.626e-05/0.3504, allocations: 103.2 kB / 0.6008 GB, free: 10.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.3504, allocations: 25.7 kB / 0.6008 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.3505, allocations: 89.39 kB / 0.6009 GB, free: 9.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.3505, allocations: 3.906 kB / 0.6009 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.3505, allocations: 13.72 kB / 0.6009 GB, free: 9.906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.3505, allocations: 323.7 kB / 0.6012 GB, free: 9.582 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.3506, allocations: 4 kB / 0.6012 GB, free: 9.578 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.3506, allocations: 15.09 kB / 0.6012 GB, free: 9.559 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.3506, allocations: 22.69 kB / 0.6012 GB, free: 9.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3506, allocations: 0 / 0.6012 GB, free: 9.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.055e-05/0.3507, allocations: 55.16 kB / 0.6013 GB, free: 9.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.3507, allocations: 4 kB / 0.6013 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.3507, allocations: 0 / 0.6013 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3507, allocations: 0.6875 kB / 0.6013 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.993e-05/0.3508, allocations: 11.98 kB / 0.6013 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-06/0.3508, allocations: 0.8125 kB / 0.6013 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.3508, allocations: 5.156 kB / 0.6013 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3508, allocations: 0 / 0.6013 GB, free: 9.453 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.767e-05/0.3509, allocations: 114.3 kB / 0.6014 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.3509, allocations: 0 / 0.6014 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.069e-05/0.351, allocations: 130 kB / 0.6016 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/0.351, allocations: 181.4 kB / 0.6017 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.703e-05/0.3511, allocations: 185 kB / 0.6019 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/0.3511, allocations: 182.1 kB / 0.6021 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.3512, allocations: 409.2 kB / 0.6025 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.3512, allocations: 104.9 kB / 0.6026 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.3513, allocations: 106.4 kB / 0.6027 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.437e-05/0.3513, allocations: 184.5 kB / 0.6028 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.3513, allocations: 188.8 kB / 0.603 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.531e-05/0.3514, allocations: 178.2 kB / 0.6032 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.442e-05/0.3514, allocations: 180.2 kB / 0.6034 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.967e-05/0.3515, allocations: 309.2 kB / 0.6037 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.3515, allocations: 187.5 kB / 0.6038 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.3515, allocations: 180.3 kB / 0.604 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3517, allocations: 113.6 kB / 0.6041 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.3517, allocations: 177.6 kB / 0.6043 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3517, allocations: 105 kB / 0.6044 GB, free: 6.102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.898e-05/0.3518, allocations: 92.86 kB / 0.6045 GB, free: 6.012 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3518, allocations: 0 / 0.6045 GB, free: 6.012 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.352, allocations: 12 kB / 0.6045 GB, free: 6 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.0002092/0.3522, allocations: 204.4 kB / 0.6047 GB, free: 5.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.3523, allocations: 8 kB / 0.6047 GB, free: 5.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3523, allocations: 1.344 kB / 0.6047 GB, free: 5.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3523, allocations: 4 kB / 0.6047 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.3526, allocations: 458 kB / 0.6051 GB, free: 5.332 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.3528, allocations: 208.4 kB / 0.6053 GB, free: 5.094 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.3529, allocations: 0.6768 MB / 0.606 GB, free: 4.391 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.353, allocations: 12.69 kB / 0.606 GB, free: 4.383 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.353, allocations: 0 / 0.606 GB, free: 4.383 MB / 446.1 MB Notification: Performance of Templates: time 0.002072/0.355, allocations: 0.7622 MB / 0.6068 GB, free: 3.66 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)