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.001061/0.001061, allocations: 113.2 kB / 16.37 MB, free: 6 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.001115/0.001115, allocations: 197.6 kB / 17.31 MB, free: 5.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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.18 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.962/0.962, allocations: 143 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.89 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3432, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004854/0.3481, allocations: 4.016 MB / 0.5996 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001834/0.3483, allocations: 157 kB / 0.5997 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.3483, allocations: 0 / 0.5997 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.3485, allocations: 7.922 kB / 0.5998 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.015e-05/0.3486, allocations: 8.5 kB / 0.5998 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.349, allocations: 83.88 kB / 0.5998 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.552e-05/0.3491, allocations: 36.56 kB / 0.5999 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.3491, allocations: 7.984 kB / 0.5999 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.028e-05/0.3492, allocations: 18.27 kB / 0.5999 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.717e-05/0.3493, allocations: 11.98 kB / 0.5999 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.3493, allocations: 0 / 0.5999 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.3495, allocations: 55.81 kB / 0.6 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.3495, allocations: 11.92 kB / 0.6 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.3496, allocations: 11.94 kB / 0.6 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.3497, allocations: 49.33 kB / 0.6 GB, free: 11.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3497, allocations: 0 / 0.6 GB, free: 11.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3497, allocations: 0 / 0.6 GB, free: 11.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3497, allocations: 0 / 0.6 GB, free: 11.67 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.0003196/0.35, allocations: 340.8 kB / 0.6004 GB, free: 11.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3501, allocations: 8.031 kB / 0.6004 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.3501, allocations: 8.938 kB / 0.6004 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.985e-05/0.3502, allocations: 161.7 kB / 0.6005 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.3503, allocations: 26.27 kB / 0.6006 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.3503, allocations: 5.719 kB / 0.6006 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.3504, allocations: 41.62 kB / 0.6006 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3504, allocations: 0 / 0.6006 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3504, allocations: 9.516 kB / 0.6006 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.3505, allocations: 4 kB / 0.6006 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.3505, allocations: 15.92 kB / 0.6006 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.3509, allocations: 335.3 kB / 0.601 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/0.351, allocations: 15.52 kB / 0.601 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.351, allocations: 4.859 kB / 0.601 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-05/0.3511, allocations: 98.16 kB / 0.6011 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.3511, allocations: 31.91 kB / 0.6011 GB, free: 10.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3511, allocations: 0 / 0.6011 GB, free: 10.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001514/0.3513, allocations: 37.64 kB / 0.6011 GB, free: 10.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.3513, allocations: 56.67 kB / 0.6012 GB, free: 10.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.044e-05/0.3514, allocations: 97.86 kB / 0.6013 GB, free: 10.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.3514, allocations: 27.17 kB / 0.6013 GB, free: 10.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.3514, allocations: 89.88 kB / 0.6014 GB, free: 10.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.3514, allocations: 7.891 kB / 0.6014 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.3515, allocations: 19.06 kB / 0.6014 GB, free: 10.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.3515, allocations: 314.8 kB / 0.6017 GB, free: 9.711 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.3515, allocations: 4 kB / 0.6017 GB, free: 9.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/0.3516, allocations: 22.8 kB / 0.6017 GB, free: 9.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.008e-05/0.3516, allocations: 18.72 kB / 0.6018 GB, free: 9.656 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3516, allocations: 1.469 kB / 0.6018 GB, free: 9.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.2e-05/0.3517, allocations: 53.62 kB / 0.6018 GB, free: 9.598 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3517, allocations: 7.938 kB / 0.6018 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3517, allocations: 1.25 kB / 0.6018 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3517, allocations: 0 / 0.6018 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.707e-05/0.3518, allocations: 8 kB / 0.6018 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3518, allocations: 1.5 kB / 0.6018 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.3518, allocations: 3.938 kB / 0.6018 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3518, allocations: 4 kB / 0.6018 GB, free: 9.574 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.431e-05/0.3519, allocations: 119.1 kB / 0.602 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.3519, allocations: 0 / 0.602 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.778e-05/0.352, allocations: 123.1 kB / 0.6021 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/0.3521, allocations: 188.3 kB / 0.6022 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-05/0.3521, allocations: 181.6 kB / 0.6024 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.708e-05/0.3521, allocations: 181.1 kB / 0.6026 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.3523, allocations: 410.4 kB / 0.603 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.3523, allocations: 104.9 kB / 0.6031 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.3523, allocations: 101 kB / 0.6032 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.631e-05/0.3523, allocations: 177.3 kB / 0.6034 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.3524, allocations: 193.5 kB / 0.6035 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.619e-05/0.3524, allocations: 176.3 kB / 0.6037 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-05/0.3524, allocations: 181.4 kB / 0.6039 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.695e-05/0.3525, allocations: 309.4 kB / 0.6042 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.3526, allocations: 190 kB / 0.6044 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.3526, allocations: 177.4 kB / 0.6045 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3528, allocations: 113.8 kB / 0.6046 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.3528, allocations: 182 kB / 0.6048 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3528, allocations: 101 kB / 0.6049 GB, free: 6.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.886e-05/0.3528, allocations: 87.16 kB / 0.605 GB, free: 6.145 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3529, allocations: 1.344 kB / 0.605 GB, free: 6.145 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.3531, allocations: 16 kB / 0.605 GB, free: 6.129 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.0001744/0.3533, allocations: 207.5 kB / 0.6052 GB, free: 5.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.794e-05/0.3534, allocations: 9.266 kB / 0.6052 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3534, allocations: 0 / 0.6052 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3534, allocations: 5.406 kB / 0.6052 GB, free: 5.906 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.3537, allocations: 457.2 kB / 0.6056 GB, free: 5.457 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.354, allocations: 187.7 kB / 0.6058 GB, free: 5.246 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.3541, allocations: 0.6729 MB / 0.6065 GB, free: 4.547 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.247e-05/0.3541, allocations: 9.938 kB / 0.6065 GB, free: 4.539 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.96e-05/0.3541, allocations: 13.72 kB / 0.6065 GB, free: 4.531 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3542, allocations: 0 / 0.6065 GB, free: 4.531 MB / 446.1 MB Notification: Performance of Templates: time 0.002713/0.3569, allocations: 0.642 MB / 0.6071 GB, free: 3.934 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)