Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7258/0.7258, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 403.4 MB, free: 7.148 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 111.3 kB / 484.4 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009795/0.0009793, allocations: 59.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1504, allocations: 80.21 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6083/0.7588, allocations: 298.2 MB / 0.9314 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.4543/1.213, allocations: 50.13 MB / 0.9803 GB, free: 42.67 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0167/1.23, allocations: 277.7 kB / 0.9806 GB, free: 42.67 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.01332/1.243, allocations: 2.79 MB / 0.9833 GB, free: 42.61 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.03379/1.277, allocations: 8.4 MB / 0.9915 GB, free: 42.26 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.02514/1.302, allocations: 5.977 MB / 0.9973 GB, free: 42.09 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.04401/1.346, allocations: 24.66 MB / 1.021 GB, free: 40.75 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01773/1.364, allocations: 4.876 MB / 1.026 GB, free: 38.98 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02338/1.387, allocations: 6.427 MB / 1.032 GB, free: 36.62 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01299/1.401, allocations: 5.119 MB / 1.037 GB, free: 34.36 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00379/1.404, allocations: 305.1 kB / 1.038 GB, free: 34.36 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02078/1.425, allocations: 3.975 MB / 1.042 GB, free: 30.7 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003662/1.429, allocations: 1.238 MB / 1.043 GB, free: 29.5 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.01058/1.44, allocations: 3.449 MB / 1.046 GB, free: 26.07 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.02629/1.466, allocations: 10.13 MB / 1.056 GB, free: 16.38 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.466, allocations: 0 / 1.056 GB, free: 16.38 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.502e-06/1.466, allocations: 0 / 1.056 GB, free: 16.38 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004257/1.466, allocations: 0 / 1.056 GB, free: 16.38 MB / 0.6667 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.02006/1.486, allocations: 7.479 MB / 1.063 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/1.486, allocations: 20.02 kB / 1.063 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004105/1.491, allocations: 0.7803 MB / 1.064 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/1.502, allocations: 5.207 MB / 1.069 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/1.502, allocations: 324 kB / 1.07 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000937/1.503, allocations: 430.8 kB / 1.07 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009217/1.512, allocations: 4.383 MB / 1.074 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/1.512, allocations: 15.81 kB / 1.074 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007105/1.513, allocations: 182.2 kB / 1.074 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001748/1.513, allocations: 115.9 kB / 1.075 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007935/1.521, allocations: 2.961 MB / 1.077 GB, free: 10.26 MB / 0.6823 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.03381/1.555, allocations: 25.01 MB / 1.102 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/1.558, allocations: 2.753 MB / 1.105 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/1.56, allocations: 0.9993 MB / 1.106 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003003/1.563, allocations: 3.903 MB / 1.109 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.628e-05/1.563, allocations: 64.56 kB / 1.109 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=217): time 5.581e-06/1.563, allocations: 0 / 1.109 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=217): time 0.01219/1.575, allocations: 4.07 MB / 1.113 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.575, allocations: 73.41 kB / 1.113 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008337/1.584, allocations: 4.238 MB / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004682/1.584, allocations: 81.7 kB / 1.118 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002463/1.587, allocations: 2.793 MB / 1.12 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001117/1.588, allocations: 0.762 MB / 1.121 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/1.589, allocations: 0.5723 MB / 1.122 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.589, allocations: 305.1 kB / 1.122 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/1.591, allocations: 0.827 MB / 1.123 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/1.593, allocations: 1.813 MB / 1.125 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/1.597, allocations: 2.521 MB / 1.127 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/1.597, allocations: 4 kB / 1.127 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008628/1.606, allocations: 3.56 MB / 1.131 GB, free: 124 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/1.606, allocations: 16 kB / 1.131 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/1.606, allocations: 20 kB / 1.131 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/1.609, allocations: 0.5842 MB / 1.131 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/1.611, allocations: 0.5538 MB / 1.132 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/1.613, allocations: 2.69 MB / 1.134 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004809/1.618, allocations: 0.5945 MB / 1.135 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004355/1.618, allocations: 132 kB / 1.135 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003544/1.622, allocations: 1.568 MB / 1.137 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002398/1.624, allocations: 1.793 MB / 1.138 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003777/1.628, allocations: 2.467 MB / 1.141 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.757e-05/1.628, allocations: 4 kB / 1.141 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007386/1.635, allocations: 3.317 MB / 1.144 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.635, allocations: 17.25 kB / 1.144 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/1.635, allocations: 20 kB / 1.144 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009913/1.636, allocations: 364.7 kB / 1.144 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/1.638, allocations: 0.5538 MB / 1.145 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00866/1.647, allocations: 7.703 MB / 1.152 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004901/1.652, allocations: 0.5627 MB / 1.153 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004255/1.652, allocations: 140 kB / 1.153 GB, free: 7.527 MB / 0.7605 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.0007772/1.653, allocations: 365.1 kB / 1.153 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/1.655, allocations: 0.5055 MB / 1.154 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007628/1.662, allocations: 3.575 MB / 1.157 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.209e-05/1.663, allocations: 39.97 kB / 1.157 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.663, allocations: 0 / 1.157 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004229/1.667, allocations: 2.439 MB / 1.16 GB, free: 0.5 MB / 0.7605 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.01869/1.686, allocations: 8.206 MB / 1.168 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.686, allocations: 0 / 1.168 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/1.687, allocations: 367.7 kB / 1.168 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007424/1.688, allocations: 300.9 kB / 1.168 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/1.688, allocations: 59.97 kB / 1.169 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/1.69, allocations: 2.504 MB / 1.171 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.69, allocations: 0 / 1.171 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04911/1.739, allocations: 25.34 MB / 1.196 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/1.741, allocations: 0.8728 MB / 1.197 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.743, allocations: 56.17 kB / 1.197 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003825/1.746, allocations: 427.3 kB / 1.197 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/1.747, allocations: 153.8 kB / 1.197 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003305/1.747, allocations: 111.9 kB / 1.197 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.005904/1.753, allocations: 2.793 MB / 1.2 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.3e-07/1.753, allocations: 0 / 1.2 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0265/1.78, allocations: 4.983 MB / 1.205 GB, free: 1.23 MB / 0.8073 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.003811/1.783, allocations: 1.46 MB / 1.206 GB, free: 15.88 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008649/1.792, allocations: 4.422 MB / 1.211 GB, free: 11.39 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.792, allocations: 1.328 kB / 1.211 GB, free: 11.39 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002368/1.795, allocations: 1.233 MB / 1.212 GB, free: 10.16 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01503/1.81, allocations: 2.64 MB / 1.214 GB, free: 7.547 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/1.828, allocations: 13.36 MB / 1.227 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003043/1.832, allocations: 2.978 MB / 1.23 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005868/1.837, allocations: 1.18 MB / 1.232 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/1.839, allocations: 427.2 kB / 1.232 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of SimCode: time 7.92e-07/1.839, allocations: 0 / 1.232 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of Templates: time 0.4475/2.286, allocations: 110.7 MB / 1.34 GB, free: 318.1 MB / 0.8386 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)