Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8102/0.8102, allocations: 130.7 MB / 138.7 MB, free: 3.594 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 221.5 MB / 391.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009792/0.0009788, allocations: 92.47 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.902e-05/1.904e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5094, allocations: 81.57 MB / 0.6282 GB, free: 42.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9692/1.479, allocations: 414.2 MB / 1.033 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.479, allocations: 91.83 kB / 1.033 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.713/6.192, allocations: 1.178 GB / 2.211 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.533e-06/6.192, allocations: 0 / 2.211 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003517/6.193, allocations: 55 kB / 2.211 GB, free: 89.45 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005415/6.198, allocations: 2.025 MB / 2.213 GB, free: 88.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/6.198, allocations: 7.344 kB / 2.213 GB, free: 88.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/6.201, allocations: 460.7 kB / 2.213 GB, free: 88.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/6.207, allocations: 2.265 MB / 2.215 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.628e-05/6.207, allocations: 36.03 kB / 2.215 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003669/6.208, allocations: 72.91 kB / 2.215 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001791/6.209, allocations: 0.7841 MB / 2.216 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/6.212, allocations: 1.058 MB / 2.217 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/6.212, allocations: 2.719 kB / 2.217 GB, free: 87.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/6.212, allocations: 7.297 kB / 2.217 GB, free: 87.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-05/6.212, allocations: 44.08 kB / 2.217 GB, free: 87.56 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.00915/6.221, allocations: 6.731 MB / 2.224 GB, free: 83.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/6.222, allocations: 1.133 MB / 2.225 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000449/6.223, allocations: 324.3 kB / 2.225 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005066/6.228, allocations: 2.989 MB / 2.228 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004831/6.228, allocations: 333.8 kB / 2.228 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007125/6.229, allocations: 70.78 kB / 2.229 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 4.077e-06/6.229, allocations: 2.812 kB / 2.229 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.006643/6.236, allocations: 1.487 MB / 2.23 GB, free: 79.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/6.236, allocations: 110.6 kB / 2.23 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/6.238, allocations: 1.223 MB / 2.231 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/6.238, allocations: 25.7 kB / 2.231 GB, free: 79.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009533/6.239, allocations: 0.8678 MB / 2.232 GB, free: 78.49 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/6.239, allocations: 216.3 kB / 2.232 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/6.239, allocations: 0 / 2.232 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001025/6.239, allocations: 348.3 kB / 2.233 GB, free: 78 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/6.24, allocations: 246.7 kB / 2.233 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006187/6.24, allocations: 0.6541 MB / 2.234 GB, free: 77.28 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006032/6.246, allocations: 1.159 MB / 2.235 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/6.247, allocations: 5.875 kB / 2.235 GB, free: 77.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.007523/6.254, allocations: 1.79 MB / 2.236 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00103/6.255, allocations: 4.454 MB / 2.241 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/6.255, allocations: 11.47 kB / 2.241 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.419e-05/6.255, allocations: 20.62 kB / 2.241 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009827/6.256, allocations: 244.4 kB / 2.241 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/6.256, allocations: 27.75 kB / 2.241 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/6.258, allocations: 95.88 kB / 2.241 GB, free: 71.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/6.258, allocations: 54.38 kB / 2.241 GB, free: 71.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/6.258, allocations: 6.906 kB / 2.241 GB, free: 71.95 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006647/6.265, allocations: 1.574 MB / 2.243 GB, free: 71.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/6.265, allocations: 9.875 kB / 2.243 GB, free: 71.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/6.265, allocations: 19.5 kB / 2.243 GB, free: 71.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009439/6.266, allocations: 244.2 kB / 2.243 GB, free: 71.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/6.266, allocations: 28.02 kB / 2.243 GB, free: 71.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/6.268, allocations: 89.45 kB / 2.243 GB, free: 71.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/6.268, allocations: 52.97 kB / 2.243 GB, free: 71.59 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003047/6.268, allocations: 140.1 kB / 2.243 GB, free: 71.45 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004501/6.268, allocations: 164.9 kB / 2.243 GB, free: 71.37 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007067/6.276, allocations: 1.699 MB / 2.245 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/6.276, allocations: 6.844 kB / 2.245 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/6.276, allocations: 0 / 2.245 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00588/6.281, allocations: 1.538 MB / 2.247 GB, free: 70.39 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.009655/6.291, allocations: 2.782 MB / 2.249 GB, free: 69.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/6.291, allocations: 0 / 2.249 GB, free: 69.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007018/6.292, allocations: 141.4 kB / 2.25 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/6.292, allocations: 37.92 kB / 2.25 GB, free: 69.17 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/6.292, allocations: 13.83 kB / 2.25 GB, free: 69.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/6.293, allocations: 1.267 MB / 2.251 GB, free: 67.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/6.293, allocations: 0 / 2.251 GB, free: 67.88 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007389/6.301, allocations: 2.059 MB / 2.253 GB, free: 66.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/6.302, allocations: 333.8 kB / 2.253 GB, free: 66.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006843/6.303, allocations: 11.86 kB / 2.253 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/6.304, allocations: 73.36 kB / 2.253 GB, free: 66.49 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/6.304, allocations: 54.83 kB / 2.253 GB, free: 66.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/6.304, allocations: 36.27 kB / 2.253 GB, free: 66.45 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002124/6.307, allocations: 0.9081 MB / 2.254 GB, free: 65.97 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.51e-07/6.307, allocations: 0 / 2.254 GB, free: 65.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005247/6.312, allocations: 0.9613 MB / 2.255 GB, free: 65.73 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003021/6.315, allocations: 1.196 MB / 2.256 GB, free: 65.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002266/6.317, allocations: 1.277 MB / 2.258 GB, free: 64.65 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/6.317, allocations: 0 / 2.258 GB, free: 64.65 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007695/6.318, allocations: 445.4 kB / 2.258 GB, free: 64.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003826/6.322, allocations: 0.608 MB / 2.259 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00579/6.328, allocations: 2.273 MB / 2.261 GB, free: 62.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/6.329, allocations: 1.399 MB / 2.262 GB, free: 61.84 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003117/6.332, allocations: 0.5897 MB / 2.263 GB, free: 61.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/6.333, allocations: 111.1 kB / 2.263 GB, free: 61.55 MB / 0.6823 GB Notification: Performance of SimCode: time 6.91e-07/6.333, allocations: 4 kB / 2.263 GB, free: 61.55 MB / 0.6823 GB Notification: Performance of Templates: time 0.05311/6.386, allocations: 31.47 MB / 2.294 GB, free: 31.31 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)