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.001001/0.001001, allocations: 109.2 kB / 16.37 MB, free: 6.48 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.0009995/0.0009995, allocations: 193.1 kB / 17.31 MB, free: 5.82 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7796/0.7796, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3269, allocations: 80.9 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5545/0.8814, allocations: 300.3 MB / 0.879 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.06951/0.951, allocations: 49.96 MB / 0.9278 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009453/0.9605, allocations: 298.2 kB / 0.9281 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.9706, allocations: 3.412 MB / 0.9314 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02689/0.9976, allocations: 9.026 MB / 0.9402 GB, free: 416 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01572/1.013, allocations: 6.621 MB / 0.9467 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02389/1.037, allocations: 18.47 MB / 0.9647 GB, free: 7.312 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/1.048, allocations: 5.861 MB / 0.9705 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01692/1.065, allocations: 7.391 MB / 0.9777 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009116/1.074, allocations: 5.097 MB / 0.9827 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002193/1.076, allocations: 0.5664 MB / 0.9832 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/1.088, allocations: 4.375 MB / 0.9875 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00272/1.09, allocations: 1.498 MB / 0.9889 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.007826/1.098, allocations: 3.74 MB / 0.9926 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02096/1.119, allocations: 10.43 MB / 1.003 GB, free: 184 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.119, allocations: 0 / 1.003 GB, free: 184 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.543e-06/1.119, allocations: 4 kB / 1.003 GB, free: 180 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002745/1.12, allocations: 0 / 1.003 GB, free: 180 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.01459/1.134, allocations: 7.478 MB / 1.01 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.134, allocations: 9.109 kB / 1.01 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/1.137, allocations: 0.7842 MB / 1.011 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/1.148, allocations: 5.366 MB / 1.016 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/1.148, allocations: 320.1 kB / 1.016 GB, free: 2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000639/1.149, allocations: 432 kB / 1.017 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008318/1.157, allocations: 4.375 MB / 1.021 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.306e-05/1.157, allocations: 15.78 kB / 1.021 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003794/1.157, allocations: 180 kB / 1.021 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000206/1.158, allocations: 116 kB / 1.021 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005408/1.163, allocations: 2.965 MB / 1.024 GB, free: 9.648 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.2956/1.459, allocations: 25.11 MB / 1.049 GB, free: 288 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/1.462, allocations: 2.761 MB / 1.052 GB, free: 286.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/1.464, allocations: 0.9924 MB / 1.052 GB, free: 285.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002025/1.466, allocations: 3.906 MB / 1.056 GB, free: 281.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/1.466, allocations: 65.94 kB / 1.056 GB, free: 281.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=217): time 3.646e-06/1.466, allocations: 0 / 1.056 GB, free: 281.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=217): time 0.009715/1.476, allocations: 4.063 MB / 1.06 GB, free: 279.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/1.476, allocations: 81.41 kB / 1.06 GB, free: 279.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005603/1.481, allocations: 4.297 MB / 1.065 GB, free: 277.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005105/1.482, allocations: 81.33 kB / 1.065 GB, free: 277.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001501/1.484, allocations: 2.783 MB / 1.067 GB, free: 275.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006782/1.484, allocations: 0.7589 MB / 1.068 GB, free: 274.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006179/1.485, allocations: 0.569 MB / 1.069 GB, free: 274.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.825e-05/1.485, allocations: 309.1 kB / 1.069 GB, free: 274 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/1.486, allocations: 0.8182 MB / 1.07 GB, free: 273.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/1.488, allocations: 1.818 MB / 1.072 GB, free: 271.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/1.491, allocations: 2.513 MB / 1.074 GB, free: 270.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/1.491, allocations: 5.906 kB / 1.074 GB, free: 270.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007647/1.498, allocations: 3.556 MB / 1.077 GB, free: 268.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/1.498, allocations: 18.03 kB / 1.078 GB, free: 268.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/1.499, allocations: 19.78 kB / 1.078 GB, free: 268.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/1.501, allocations: 0.5921 MB / 1.078 GB, free: 268 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/1.503, allocations: 0.5549 MB / 1.079 GB, free: 267.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/1.505, allocations: 2.688 MB / 1.081 GB, free: 265.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003751/1.508, allocations: 322.8 kB / 1.082 GB, free: 265.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000419/1.509, allocations: 142.6 kB / 1.082 GB, free: 265.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003101/1.512, allocations: 1.562 MB / 1.083 GB, free: 264.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0017/1.514, allocations: 1.796 MB / 1.085 GB, free: 262.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002883/1.517, allocations: 2.464 MB / 1.087 GB, free: 260.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.29e-05/1.517, allocations: 7.688 kB / 1.087 GB, free: 260.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006086/1.523, allocations: 3.315 MB / 1.091 GB, free: 259 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.523, allocations: 15.94 kB / 1.091 GB, free: 259 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/1.523, allocations: 26.19 kB / 1.091 GB, free: 259 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008273/1.524, allocations: 369.6 kB / 1.091 GB, free: 258.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/1.525, allocations: 0.5557 MB / 1.092 GB, free: 258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005694/1.531, allocations: 8.453 MB / 1.1 GB, free: 249 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/1.535, allocations: 299.9 kB / 1.1 GB, free: 248.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/1.535, 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.0006586/1.536, allocations: 359.9 kB / 1.101 GB, free: 248.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.537, allocations: 0.5122 MB / 1.101 GB, free: 247.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005016/1.542, allocations: 3.555 MB / 1.105 GB, free: 244.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.108e-05/1.542, allocations: 35.97 kB / 1.105 GB, free: 244.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.542, allocations: 0 / 1.105 GB, free: 244.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003012/1.545, allocations: 2.441 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.01202/1.557, allocations: 8.2 MB / 1.115 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/1.557, allocations: 3.094 kB / 1.115 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.559, allocations: 359.6 kB / 1.115 GB, free: 232.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005777/1.559, allocations: 306.2 kB / 1.116 GB, free: 232.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.559, allocations: 67.97 kB / 1.116 GB, free: 232.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/1.56, allocations: 2.501 MB / 1.118 GB, free: 229.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.56, allocations: 2.125 kB / 1.118 GB, free: 229.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005613/1.566, allocations: 4.336 MB / 1.122 GB, free: 225.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/1.568, allocations: 0.8806 MB / 1.123 GB, free: 224.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006581/1.569, allocations: 40 kB / 1.123 GB, free: 224.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/1.571, allocations: 128.4 kB / 1.123 GB, free: 224.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/1.571, allocations: 146.8 kB / 1.124 GB, free: 224.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/1.571, allocations: 115.9 kB / 1.124 GB, free: 224.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003558/1.575, allocations: 2.846 MB / 1.126 GB, free: 221.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.4e-07/1.575, allocations: 0 / 1.126 GB, free: 221.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.008133/1.583, allocations: 3.241 MB / 1.13 GB, free: 218.2 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.002651/1.586, allocations: 1.504 MB / 1.131 GB, free: 217 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006587/1.592, allocations: 4.432 MB / 1.135 GB, free: 212.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.592, allocations: 0 / 1.135 GB, free: 212.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/1.594, allocations: 1.231 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.01011/1.604, allocations: 2.635 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.01135/1.615, allocations: 9.008 MB / 1.148 GB, free: 199.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/1.617, allocations: 2.873 MB / 1.151 GB, free: 197 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003989/1.621, allocations: 1.164 MB / 1.152 GB, free: 195.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008239/1.622, allocations: 423.2 kB / 1.152 GB, free: 195.4 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/1.622, allocations: 0 / 1.152 GB, free: 195.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.1333/1.755, allocations: 104.2 MB / 1.254 GB, free: 92.38 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)