Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001544/0.001544, 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-master/package.mo): time 0.7025/0.7025, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.412/1.412, allocations: 222.9 MB / 404.7 MB, free: 6.086 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.001173/0.001173, allocations: 91.77 kB / 485.9 MB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 55.91 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1408, allocations: 80.42 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5748/0.7156, allocations: 298.2 MB / 0.9333 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.5284/1.244, allocations: 50.11 MB / 0.9823 GB, free: 44.07 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01425/1.258, allocations: 276.3 kB / 0.9825 GB, free: 44.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01111/1.269, allocations: 2.802 MB / 0.9853 GB, free: 44.06 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0318/1.301, allocations: 8.395 MB / 0.9935 GB, free: 43.78 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01922/1.321, allocations: 5.985 MB / 0.9993 GB, free: 43.63 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.03299/1.354, allocations: 24.66 MB / 1.023 GB, free: 43.6 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/1.364, allocations: 4.859 MB / 1.028 GB, free: 42.92 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01636/1.381, allocations: 6.437 MB / 1.034 GB, free: 41.75 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/1.391, allocations: 5.116 MB / 1.039 GB, free: 39.73 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002526/1.394, allocations: 304 kB / 1.04 GB, free: 39.73 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01746/1.411, allocations: 3.978 MB / 1.044 GB, free: 38.66 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002923/1.414, allocations: 1.251 MB / 1.045 GB, free: 38.11 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.009289/1.423, allocations: 3.437 MB / 1.048 GB, free: 36.84 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02121/1.445, allocations: 10.13 MB / 1.058 GB, free: 30.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.445, allocations: 6.234 kB / 1.058 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.714e-06/1.445, allocations: 0 / 1.058 GB, free: 30.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003809/1.445, allocations: 0 / 1.058 GB, free: 30.21 MB / 0.6823 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.01975/1.465, allocations: 7.472 MB / 1.065 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.465, allocations: 8.031 kB / 1.065 GB, free: 23.74 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004024/1.469, allocations: 0.784 MB / 1.066 GB, free: 22.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/1.481, allocations: 5.227 MB / 1.071 GB, free: 18.69 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/1.482, allocations: 323.2 kB / 1.072 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001373/1.483, allocations: 427.9 kB / 1.072 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/1.494, allocations: 4.378 MB / 1.076 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001725/1.494, allocations: 15.92 kB / 1.076 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/1.495, allocations: 187.5 kB / 1.076 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/1.495, allocations: 112 kB / 1.077 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006263/1.502, allocations: 2.965 MB / 1.079 GB, free: 10.03 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.0313/1.533, allocations: 25 MB / 1.104 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/1.536, allocations: 2.766 MB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/1.538, allocations: 0.9915 MB / 1.108 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003046/1.541, allocations: 3.908 MB / 1.111 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.121e-05/1.541, allocations: 64.56 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=217): time 4.058e-06/1.541, allocations: 3.938 kB / 1.111 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=217): time 0.01113/1.552, allocations: 4.064 MB / 1.115 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/1.552, allocations: 77.41 kB / 1.115 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008856/1.561, allocations: 4.234 MB / 1.12 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005178/1.562, allocations: 77.7 kB / 1.12 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002637/1.564, allocations: 2.786 MB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.566, allocations: 0.7639 MB / 1.123 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001457/1.567, allocations: 0.5762 MB / 1.124 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.567, allocations: 301.1 kB / 1.124 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/1.569, allocations: 0.8231 MB / 1.125 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/1.571, allocations: 1.82 MB / 1.127 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004016/1.575, allocations: 2.517 MB / 1.129 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/1.575, allocations: 4 kB / 1.129 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009046/1.584, allocations: 3.564 MB / 1.133 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/1.585, allocations: 16 kB / 1.133 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/1.585, allocations: 20 kB / 1.133 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002633/1.587, allocations: 0.5815 MB / 1.133 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/1.589, allocations: 0.5616 MB / 1.134 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/1.591, allocations: 2.682 MB / 1.136 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/1.597, allocations: 0.6042 MB / 1.137 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006521/1.598, allocations: 132 kB / 1.137 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004566/1.602, allocations: 1.573 MB / 1.139 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002657/1.605, allocations: 1.796 MB / 1.14 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003895/1.609, allocations: 2.467 MB / 1.143 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.715e-05/1.609, allocations: 4 kB / 1.143 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007577/1.616, allocations: 3.31 MB / 1.146 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/1.616, allocations: 17.88 kB / 1.146 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/1.616, allocations: 23.98 kB / 1.146 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009752/1.617, allocations: 367 kB / 1.146 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/1.619, allocations: 0.5499 MB / 1.147 GB, free: 272 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008555/1.628, allocations: 7.708 MB / 1.154 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005029/1.633, allocations: 0.5651 MB / 1.155 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000556/1.633, allocations: 132 kB / 1.155 GB, free: 7.293 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.001199/1.635, allocations: 367.8 kB / 1.155 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002149/1.637, allocations: 0.5055 MB / 1.156 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008161/1.645, allocations: 3.575 MB / 1.159 GB, free: 2.781 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.817e-05/1.645, allocations: 39.97 kB / 1.159 GB, free: 2.742 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.645, allocations: 0 / 1.159 GB, free: 2.742 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004203/1.649, allocations: 2.443 MB / 1.162 GB, free: 268 kB / 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.0182/1.667, allocations: 8.2 MB / 1.17 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.667, allocations: 0 / 1.17 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.669, allocations: 371.6 kB / 1.17 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007621/1.67, allocations: 299.5 kB / 1.17 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/1.67, allocations: 63.97 kB / 1.171 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/1.672, allocations: 2.502 MB / 1.173 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.672, allocations: 0 / 1.173 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05535/1.727, allocations: 25.34 MB / 1.198 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003504/1.731, allocations: 0.8767 MB / 1.199 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001535/1.732, allocations: 44.06 kB / 1.199 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004732/1.737, allocations: 431.4 kB / 1.199 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004844/1.738, allocations: 153.7 kB / 1.199 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000491/1.738, allocations: 115.9 kB / 1.199 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.007865/1.746, allocations: 2.793 MB / 1.202 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.32e-07/1.746, allocations: 0 / 1.202 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.03033/1.776, allocations: 4.976 MB / 1.207 GB, free: 1 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.003443/1.78, allocations: 1.464 MB / 1.208 GB, free: 15.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008744/1.789, allocations: 4.418 MB / 1.213 GB, free: 11.16 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.789, allocations: 0 / 1.213 GB, free: 11.16 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002629/1.791, allocations: 1.231 MB / 1.214 GB, free: 9.93 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01724/1.809, allocations: 2.646 MB / 1.216 GB, free: 7.312 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02517/1.834, allocations: 13.36 MB / 1.229 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004921/1.839, allocations: 2.978 MB / 1.232 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006898/1.846, allocations: 1.188 MB / 1.234 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.847, allocations: 427.2 kB / 1.234 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of SimCode: time 1.252e-06/1.847, allocations: 0 / 1.234 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of Templates: time 0.4647/2.312, allocations: 110.7 MB / 1.342 GB, free: 379.5 MB / 0.8698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)