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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 103.9 kB / 16.37 MB, free: 5.547 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.001313/0.001313, allocations: 194.6 kB / 17.31 MB, free: 5.184 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8151/0.8151, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.89 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3541, allocations: 80.91 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6129/0.9671, allocations: 300.3 MB / 0.879 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.07116/1.038, allocations: 49.94 MB / 0.9278 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01319/1.052, allocations: 298.2 kB / 0.9281 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01486/1.066, allocations: 3.427 MB / 0.9314 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.03352/1.1, allocations: 9.022 MB / 0.9402 GB, free: 420 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01979/1.12, allocations: 6.623 MB / 0.9467 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.03272/1.153, allocations: 18.47 MB / 0.9647 GB, free: 7.312 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01353/1.166, allocations: 5.866 MB / 0.9705 GB, free: 1.352 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01888/1.185, allocations: 7.389 MB / 0.9777 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009434/1.195, allocations: 5.089 MB / 0.9827 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00294/1.198, allocations: 0.5703 MB / 0.9832 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01467/1.212, allocations: 4.383 MB / 0.9875 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003694/1.216, allocations: 1.494 MB / 0.989 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01009/1.226, allocations: 3.736 MB / 0.9926 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02184/1.248, allocations: 10.43 MB / 1.003 GB, free: 192 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.248, allocations: 0 / 1.003 GB, free: 192 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.363e-06/1.248, allocations: 0 / 1.003 GB, free: 192 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003219/1.248, allocations: 0 / 1.003 GB, free: 192 kB / 0.7012 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.01658/1.265, allocations: 7.482 MB / 1.01 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.265, allocations: 13.11 kB / 1.01 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/1.268, allocations: 0.7803 MB / 1.011 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/1.28, allocations: 5.357 MB / 1.016 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/1.28, allocations: 324.1 kB / 1.016 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/1.281, allocations: 432 kB / 1.017 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009696/1.291, allocations: 4.382 MB / 1.021 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/1.291, allocations: 15.84 kB / 1.021 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007105/1.292, allocations: 172 kB / 1.021 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/1.292, allocations: 127.9 kB / 1.021 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006679/1.298, allocations: 2.961 MB / 1.024 GB, free: 9.652 MB / 0.7325 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.3483/1.647, allocations: 25.11 MB / 1.049 GB, free: 288 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003638/1.65, allocations: 2.756 MB / 1.052 GB, free: 286.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/1.652, allocations: 0.9997 MB / 1.052 GB, free: 285.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002179/1.654, allocations: 3.906 MB / 1.056 GB, free: 281.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.637e-05/1.654, allocations: 64.66 kB / 1.056 GB, free: 281.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=217): time 4.388e-06/1.654, allocations: 0 / 1.056 GB, free: 281.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=217): time 0.01163/1.666, allocations: 4.069 MB / 1.06 GB, free: 279.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/1.666, allocations: 73.25 kB / 1.06 GB, free: 279.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008072/1.674, allocations: 4.299 MB / 1.065 GB, free: 277.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004536/1.675, allocations: 81.47 kB / 1.065 GB, free: 277.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001927/1.677, allocations: 2.781 MB / 1.067 GB, free: 275.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008355/1.677, allocations: 0.7639 MB / 1.068 GB, free: 274.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008438/1.678, allocations: 0.5671 MB / 1.069 GB, free: 274.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.582e-05/1.678, allocations: 305.1 kB / 1.069 GB, free: 274.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/1.68, allocations: 0.8185 MB / 1.07 GB, free: 273.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/1.681, allocations: 1.827 MB / 1.072 GB, free: 272 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/1.685, allocations: 2.51 MB / 1.074 GB, free: 270.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-05/1.685, allocations: 3.969 kB / 1.074 GB, free: 270.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.00778/1.692, allocations: 3.555 MB / 1.077 GB, free: 268.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/1.692, allocations: 17.53 kB / 1.078 GB, free: 268.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.815e-05/1.693, allocations: 19.62 kB / 1.078 GB, free: 268.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/1.695, allocations: 0.5799 MB / 1.078 GB, free: 268.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/1.697, allocations: 0.5512 MB / 1.079 GB, free: 267.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/1.699, allocations: 2.699 MB / 1.081 GB, free: 265.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004053/1.703, allocations: 321.7 kB / 1.082 GB, free: 265.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003873/1.703, allocations: 139.2 kB / 1.082 GB, free: 265.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003209/1.706, allocations: 1.572 MB / 1.083 GB, free: 264.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00201/1.709, allocations: 1.796 MB / 1.085 GB, free: 262.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003266/1.712, allocations: 2.466 MB / 1.087 GB, free: 260.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.639e-05/1.712, allocations: 8.531 kB / 1.087 GB, free: 260.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006679/1.719, allocations: 3.304 MB / 1.091 GB, free: 259 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/1.719, allocations: 19.94 kB / 1.091 GB, free: 259 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/1.719, allocations: 23.98 kB / 1.091 GB, free: 259 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008885/1.719, allocations: 375.2 kB / 1.091 GB, free: 258.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/1.721, allocations: 0.5514 MB / 1.092 GB, free: 258.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0063/1.727, allocations: 8.452 MB / 1.1 GB, free: 249.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/1.732, allocations: 297.4 kB / 1.1 GB, free: 248.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006886/1.733, allocations: 132 kB / 1.1 GB, free: 248.6 MB / 0.7325 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.00127/1.734, allocations: 366 kB / 1.101 GB, free: 248.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002222/1.736, allocations: 0.5055 MB / 1.101 GB, free: 247.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006555/1.743, allocations: 3.558 MB / 1.105 GB, free: 244.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.791e-05/1.743, allocations: 38.31 kB / 1.105 GB, free: 244.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.743, allocations: 4 kB / 1.105 GB, free: 244.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003518/1.747, allocations: 2.434 MB / 1.107 GB, free: 241.7 MB / 0.7325 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.01396/1.761, allocations: 8.198 MB / 1.115 GB, free: 233.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.761, allocations: 3.828 kB / 1.115 GB, free: 233.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/1.762, allocations: 371.1 kB / 1.115 GB, free: 232.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000648/1.762, allocations: 296.8 kB / 1.116 GB, free: 232.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/1.763, allocations: 63.97 kB / 1.116 GB, free: 232.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/1.764, allocations: 2.497 MB / 1.118 GB, free: 230 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.764, allocations: 6.031 kB / 1.118 GB, free: 230 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006392/1.77, allocations: 4.337 MB / 1.122 GB, free: 225.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002201/1.773, allocations: 0.8767 MB / 1.123 GB, free: 224.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/1.774, allocations: 47.98 kB / 1.123 GB, free: 224.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/1.777, allocations: 118.9 kB / 1.123 GB, free: 224.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/1.777, allocations: 152.2 kB / 1.124 GB, free: 224.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000249/1.777, allocations: 107.9 kB / 1.124 GB, free: 224.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.005076/1.782, allocations: 2.854 MB / 1.126 GB, free: 221.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.41e-07/1.782, allocations: 0 / 1.126 GB, free: 221.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.01039/1.793, allocations: 3.239 MB / 1.13 GB, free: 218.3 MB / 0.7325 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.003108/1.796, allocations: 1.505 MB / 1.131 GB, free: 217.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007578/1.803, allocations: 4.433 MB / 1.135 GB, free: 212.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/1.803, allocations: 0 / 1.135 GB, free: 212.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/1.805, allocations: 1.236 MB / 1.137 GB, free: 211.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0136/1.819, allocations: 2.633 MB / 1.139 GB, free: 208.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/1.835, allocations: 9.023 MB / 1.148 GB, free: 199.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002786/1.837, allocations: 2.87 MB / 1.151 GB, free: 197 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00482/1.842, allocations: 1.157 MB / 1.152 GB, free: 195.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.843, allocations: 419.2 kB / 1.152 GB, free: 195.4 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/1.843, allocations: 0 / 1.152 GB, free: 195.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.1395/1.983, allocations: 104.2 MB / 1.254 GB, free: 92.4 MB / 0.7325 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)