Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 108.1 kB / 16.4 MB, free: 6.465 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.0009803/0.0009803, allocations: 193.3 kB / 17.34 MB, free: 5.719 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.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6948/0.6948, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 65.75 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1226, allocations: 76.18 MB / 0.6321 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5348/0.6574, allocations: 300.4 MB / 0.9254 GB, free: 12.3 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.06464/0.7221, allocations: 50.04 MB / 0.9743 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00893/0.7311, allocations: 298.2 kB / 0.9746 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009563/0.7406, allocations: 3.415 MB / 0.9779 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02305/0.7638, allocations: 9.046 MB / 0.9868 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01755/0.7813, allocations: 6.643 MB / 0.9932 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.02324/0.8046, allocations: 18.49 MB / 1.011 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00939/0.814, allocations: 5.837 MB / 1.017 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01538/0.8294, allocations: 7.541 MB / 1.024 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00891/0.8383, allocations: 5.095 MB / 1.029 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.002533/0.8409, allocations: 0.5664 MB / 1.03 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/0.8519, allocations: 4.379 MB / 1.034 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002321/0.8542, allocations: 1.498 MB / 1.036 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.007019/0.8613, allocations: 3.74 MB / 1.039 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.4004/1.262, allocations: 10.43 MB / 1.049 GB, free: 64.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.262, allocations: 0.6562 kB / 1.049 GB, free: 64.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.914e-06/1.262, allocations: 0 / 1.049 GB, free: 64.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002976/1.262, allocations: 2.422 kB / 1.049 GB, free: 64.61 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01161/1.274, allocations: 7.478 MB / 1.057 GB, free: 61.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/1.274, allocations: 9.469 kB / 1.057 GB, free: 61.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/1.276, allocations: 0.7853 MB / 1.058 GB, free: 61.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008561/1.284, allocations: 5.356 MB / 1.063 GB, free: 60.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/1.285, allocations: 322.2 kB / 1.063 GB, free: 60.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005247/1.285, allocations: 433.3 kB / 1.064 GB, free: 60.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006499/1.292, allocations: 4.384 MB / 1.068 GB, free: 59.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.053e-05/1.292, allocations: 16.48 kB / 1.068 GB, free: 59.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003483/1.292, allocations: 173.1 kB / 1.068 GB, free: 59.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.8e-05/1.292, allocations: 121.5 kB / 1.068 GB, free: 59.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004496/1.297, allocations: 2.962 MB / 1.071 GB, free: 59.29 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02106/1.318, allocations: 25.12 MB / 1.096 GB, free: 43.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/1.32, allocations: 2.757 MB / 1.098 GB, free: 42.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/1.322, allocations: 0.9983 MB / 1.099 GB, free: 42.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001864/1.323, allocations: 3.903 MB / 1.103 GB, free: 37.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/1.324, allocations: 64.75 kB / 1.103 GB, free: 37.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=217): time 4.047e-06/1.324, allocations: 0 / 1.103 GB, free: 37.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=217): time 0.00867/1.332, allocations: 4.071 MB / 1.107 GB, free: 36.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/1.332, allocations: 78.23 kB / 1.107 GB, free: 36.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004611/1.337, allocations: 4.3 MB / 1.111 GB, free: 36.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002851/1.337, allocations: 84.67 kB / 1.111 GB, free: 36.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001521/1.339, allocations: 2.773 MB / 1.114 GB, free: 35.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005622/1.339, allocations: 0.7662 MB / 1.115 GB, free: 35.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006251/1.34, allocations: 0.5705 MB / 1.115 GB, free: 35.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 3.609e-05/1.34, allocations: 304.5 kB / 1.116 GB, free: 34.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/1.341, allocations: 0.8204 MB / 1.116 GB, free: 34.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/1.343, allocations: 1.819 MB / 1.118 GB, free: 33.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002718/1.345, allocations: 2.508 MB / 1.121 GB, free: 32.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/1.346, allocations: 9.344 kB / 1.121 GB, free: 32.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.00665/1.352, allocations: 3.549 MB / 1.124 GB, free: 32.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/1.352, allocations: 14.44 kB / 1.124 GB, free: 32.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/1.352, allocations: 21.78 kB / 1.124 GB, free: 32.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/1.354, allocations: 0.5824 MB / 1.125 GB, free: 32.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/1.356, allocations: 0.5571 MB / 1.125 GB, free: 32.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/1.357, allocations: 2.685 MB / 1.128 GB, free: 30.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/1.361, allocations: 327.6 kB / 1.128 GB, free: 29.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/1.361, allocations: 135.2 kB / 1.128 GB, free: 29.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002706/1.364, allocations: 1.571 MB / 1.13 GB, free: 29.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001518/1.365, allocations: 1.794 MB / 1.132 GB, free: 28.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002549/1.368, allocations: 2.464 MB / 1.134 GB, free: 27.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.298e-06/1.368, allocations: 7.844 kB / 1.134 GB, free: 27.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005412/1.373, allocations: 3.313 MB / 1.137 GB, free: 27.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.373, allocations: 15.25 kB / 1.137 GB, free: 27.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/1.373, allocations: 25.94 kB / 1.137 GB, free: 27.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007654/1.374, allocations: 370.4 kB / 1.138 GB, free: 27.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/1.376, allocations: 0.5551 MB / 1.138 GB, free: 27.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005393/1.381, allocations: 8.448 MB / 1.147 GB, free: 20.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/1.384, allocations: 305 kB / 1.147 GB, free: 20.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/1.385, allocations: 131.8 kB / 1.147 GB, free: 20.86 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006385/1.385, allocations: 372.9 kB / 1.147 GB, free: 20.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009926/1.386, allocations: 0.5019 MB / 1.148 GB, free: 20.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005003/1.391, allocations: 3.553 MB / 1.151 GB, free: 20.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-05/1.391, allocations: 36.73 kB / 1.151 GB, free: 20.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.391, allocations: 3.906 kB / 1.151 GB, free: 20.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002994/1.394, allocations: 2.438 MB / 1.154 GB, free: 19.78 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009532/1.404, allocations: 8.195 MB / 1.162 GB, free: 18.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/1.404, allocations: 96 / 1.162 GB, free: 18.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.405, allocations: 369.9 kB / 1.162 GB, free: 18.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000565/1.406, allocations: 303.2 kB / 1.162 GB, free: 18.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.406, allocations: 67.91 kB / 1.162 GB, free: 18.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/1.407, allocations: 2.491 MB / 1.165 GB, free: 16.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.407, allocations: 3.562 kB / 1.165 GB, free: 16.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005811/1.413, allocations: 4.331 MB / 1.169 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/1.414, allocations: 0.8845 MB / 1.17 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006392/1.415, allocations: 48.81 kB / 1.17 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.417, allocations: 119.3 kB / 1.17 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/1.417, allocations: 151.4 kB / 1.17 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/1.418, allocations: 116.8 kB / 1.17 GB, free: 15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003454/1.421, allocations: 2.844 MB / 1.173 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/1.421, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008455/1.43, allocations: 3.239 MB / 1.176 GB, free: 10.96 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002833/1.432, allocations: 1.514 MB / 1.178 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006254/1.439, allocations: 4.431 MB / 1.182 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.439, allocations: 0 / 1.182 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/1.44, allocations: 1.229 MB / 1.183 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01091/1.451, allocations: 2.631 MB / 1.186 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/1.463, allocations: 9.019 MB / 1.195 GB, free: 12.65 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002214/1.465, allocations: 2.867 MB / 1.197 GB, free: 9.828 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004281/1.469, allocations: 1.161 MB / 1.199 GB, free: 8.676 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.471, allocations: 416.1 kB / 1.199 GB, free: 8.297 MB / 0.795 GB Notification: Performance of SimCode: time 6.62e-07/1.471, allocations: 0 / 1.199 GB, free: 8.297 MB / 0.795 GB Notification: Performance of Templates: time 0.1545/1.625, allocations: 105 MB / 1.302 GB, free: 1.266 MB / 0.8887 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)