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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005148/0.005148, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001201/0.001201, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7963/0.7963, allocations: 132.2 MB / 422.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 68.78 kB / 0.5814 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1546, allocations: 80.21 MB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5984/0.753, allocations: 300.3 MB / 0.953 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.06716/0.8202, allocations: 49.94 MB / 1.002 GB, free: 0.5547 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01224/0.8325, allocations: 294.2 kB / 1.002 GB, free: 272 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01159/0.8442, allocations: 3.419 MB / 1.005 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02709/0.8713, allocations: 9.025 MB / 1.014 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01812/0.8894, allocations: 6.63 MB / 1.021 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02674/0.9162, allocations: 18.46 MB / 1.039 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.9267, allocations: 5.859 MB / 1.044 GB, free: 4.707 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5229/1.45, allocations: 7.383 MB / 1.052 GB, free: 47.72 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01121/1.461, allocations: 5.092 MB / 1.057 GB, free: 47.72 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003461/1.464, allocations: 0.5657 MB / 1.057 GB, free: 47.72 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01636/1.481, allocations: 4.38 MB / 1.061 GB, free: 47.72 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004695/1.486, allocations: 1.506 MB / 1.063 GB, free: 47.72 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01347/1.499, allocations: 3.739 MB / 1.067 GB, free: 47.06 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02591/1.525, allocations: 10.48 MB / 1.077 GB, free: 45.55 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.525, allocations: 6.406 kB / 1.077 GB, free: 45.55 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.222e-06/1.525, allocations: 0 / 1.077 GB, free: 45.55 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003283/1.525, allocations: 0 / 1.077 GB, free: 45.55 MB / 0.795 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.01789/1.543, allocations: 7.703 MB / 1.084 GB, free: 41.99 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.543, allocations: 10.78 kB / 1.084 GB, free: 41.99 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/1.546, allocations: 0.8213 MB / 1.085 GB, free: 41.58 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/1.556, allocations: 5.411 MB / 1.09 GB, free: 40.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/1.556, allocations: 323.5 kB / 1.091 GB, free: 40.42 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005886/1.557, allocations: 427.8 kB / 1.091 GB, free: 40.42 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007148/1.564, allocations: 4.384 MB / 1.095 GB, free: 39.61 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.831e-05/1.564, allocations: 15.66 kB / 1.095 GB, free: 39.61 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003882/1.565, allocations: 172.8 kB / 1.096 GB, free: 39.61 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/1.565, allocations: 123.5 kB / 1.096 GB, free: 39.61 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005174/1.57, allocations: 2.958 MB / 1.099 GB, free: 39.58 MB / 0.795 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.03466/1.605, allocations: 25.16 MB / 1.123 GB, free: 23.7 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/1.608, allocations: 2.763 MB / 1.126 GB, free: 22.52 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/1.61, allocations: 0.9958 MB / 1.127 GB, free: 22.51 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002283/1.612, allocations: 3.905 MB / 1.131 GB, free: 18.1 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.358e-05/1.612, allocations: 69.64 kB / 1.131 GB, free: 18.05 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 6.903e-06/1.612, allocations: 7.844 kB / 1.131 GB, free: 18.04 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.01129/1.624, allocations: 4.091 MB / 1.135 GB, free: 17.16 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/1.624, allocations: 73.94 kB / 1.135 GB, free: 17.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009825/1.634, allocations: 4.298 MB / 1.139 GB, free: 16.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0008484/1.635, allocations: 78.58 kB / 1.139 GB, free: 16.72 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003249/1.638, allocations: 2.827 MB / 1.142 GB, free: 15.81 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001288/1.639, allocations: 0.8033 MB / 1.143 GB, free: 15.28 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001448/1.641, allocations: 0.5788 MB / 1.143 GB, free: 15.23 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 6.113e-05/1.641, allocations: 301.1 kB / 1.143 GB, free: 14.93 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/1.642, allocations: 0.8208 MB / 1.144 GB, free: 14.91 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/1.645, allocations: 1.823 MB / 1.146 GB, free: 13.74 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004042/1.649, allocations: 2.512 MB / 1.148 GB, free: 12.87 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.712e-05/1.649, allocations: 7.031 kB / 1.149 GB, free: 12.87 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.00951/1.658, allocations: 3.577 MB / 1.152 GB, free: 12.35 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/1.658, allocations: 14.47 kB / 1.152 GB, free: 12.35 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-05/1.658, allocations: 21.59 kB / 1.152 GB, free: 12.35 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/1.661, allocations: 0.5801 MB / 1.153 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/1.663, allocations: 0.5546 MB / 1.153 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/1.665, allocations: 2.698 MB / 1.156 GB, free: 10.19 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004818/1.67, allocations: 326.5 kB / 1.156 GB, free: 10.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004158/1.67, allocations: 137.3 kB / 1.156 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003817/1.674, allocations: 1.565 MB / 1.158 GB, free: 9.953 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002192/1.676, allocations: 1.798 MB / 1.16 GB, free: 8.789 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003716/1.68, allocations: 2.465 MB / 1.162 GB, free: 7.914 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.307e-05/1.68, allocations: 3.188 kB / 1.162 GB, free: 7.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.007621/1.688, allocations: 3.339 MB / 1.165 GB, free: 7.438 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/1.688, allocations: 17.5 kB / 1.165 GB, free: 7.438 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/1.688, allocations: 19.56 kB / 1.165 GB, free: 7.438 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009205/1.689, allocations: 371.7 kB / 1.166 GB, free: 7.398 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/1.69, allocations: 0.5548 MB / 1.166 GB, free: 7.398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006612/1.697, allocations: 8.465 MB / 1.174 GB, free: 1.078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004901/1.702, allocations: 302.7 kB / 1.175 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005545/1.702, allocations: 130.5 kB / 1.175 GB, free: 0.9766 MB / 0.795 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.001093/1.704, allocations: 373.1 kB / 1.175 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002268/1.706, allocations: 0.5261 MB / 1.176 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007423/1.713, allocations: 3.556 MB / 1.179 GB, free: 108 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.093e-05/1.713, allocations: 36.39 kB / 1.179 GB, free: 108 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.713, allocations: 9.625 kB / 1.179 GB, free: 100 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003979/1.717, allocations: 2.433 MB / 1.182 GB, free: 15.86 MB / 0.8106 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.01826/1.736, allocations: 8.208 MB / 1.19 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/1.736, allocations: 0 / 1.19 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/1.737, allocations: 365.6 kB / 1.19 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007901/1.738, allocations: 303.3 kB / 1.19 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/1.738, allocations: 72.03 kB / 1.19 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/1.74, allocations: 2.49 MB / 1.193 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.74, allocations: 0 / 1.193 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008793/1.749, allocations: 4.365 MB / 1.197 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003187/1.752, allocations: 0.9037 MB / 1.198 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001678/1.754, allocations: 44.06 kB / 1.198 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003851/1.758, allocations: 125.2 kB / 1.198 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/1.758, allocations: 156.8 kB / 1.198 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003524/1.758, allocations: 110.8 kB / 1.198 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.007295/1.766, allocations: 2.854 MB / 1.201 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3e-07/1.766, allocations: 0 / 1.201 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.01433/1.78, allocations: 3.266 MB / 1.204 GB, free: 15.64 MB / 0.8262 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.00431/1.784, allocations: 1.521 MB / 1.206 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01005/1.795, allocations: 4.42 MB / 1.21 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.795, allocations: 4 kB / 1.21 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002727/1.797, allocations: 1.244 MB / 1.211 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01828/1.816, allocations: 2.639 MB / 1.214 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/1.838, allocations: 9.196 MB / 1.223 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005108/1.843, allocations: 2.873 MB / 1.226 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.006326/1.849, allocations: 1.16 MB / 1.227 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.851, allocations: 412.9 kB / 1.227 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of SimCode: time 1.042e-06/1.851, allocations: 0 / 1.227 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of Templates: time 0.1771/2.028, allocations: 105 MB / 1.33 GB, free: 1.312 MB / 0.9356 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)