Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009178/0.0009177, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008907/0.0008907, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8578/0.8578, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003176, allocations: 8.562 kB / 0.5068 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 82.31 MB / 0.5872 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.2912/0.4417, allocations: 44.71 MB / 0.6309 GB, free: 28.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.4567, allocations: 13.25 MB / 0.6438 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.4589, allocations: 73.03 kB / 0.6439 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.4612, allocations: 0.9247 MB / 0.6448 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.4665, allocations: 2.368 MB / 0.6471 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004664/0.4712, allocations: 2.067 MB / 0.6491 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004317/0.4755, allocations: 2.747 MB / 0.6518 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.4769, allocations: 1.235 MB / 0.653 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.4791, allocations: 1.372 MB / 0.6543 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.4802, allocations: 0.9154 MB / 0.6552 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.4804, allocations: 72.25 kB / 0.6553 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.4827, allocations: 1.263 MB / 0.6565 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.4831, allocations: 391.3 kB / 0.6569 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.4835, allocations: 403.3 kB / 0.6573 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.486, allocations: 2.349 MB / 0.6596 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.486, allocations: 0 / 0.6596 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.486, allocations: 0 / 0.6596 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.867e-05/0.486, allocations: 1.062 kB / 0.6596 GB, free: 11.66 MB / 0.4981 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.003537/0.4896, allocations: 2.189 MB / 0.6617 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.4896, allocations: 8.781 kB / 0.6617 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.4916, allocations: 485 kB / 0.6622 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002671/0.4943, allocations: 1.53 MB / 0.6637 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003801/0.4947, allocations: 156.1 kB / 0.6638 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.4949, allocations: 125.9 kB / 0.664 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.4973, allocations: 1.346 MB / 0.6653 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.4973, allocations: 6.375 kB / 0.6653 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.4975, allocations: 46.5 kB / 0.6653 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/0.4975, allocations: 41.27 kB / 0.6654 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.5, allocations: 1.126 MB / 0.6665 GB, free: 8.133 MB / 0.4981 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.00764/0.5077, allocations: 7.148 MB / 0.6734 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.51, allocations: 1.425 MB / 0.6748 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004231/0.5142, allocations: 3.102 MB / 0.6779 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.5152, allocations: 453.2 kB / 0.6783 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004579/0.5157, allocations: 91.39 kB / 0.6784 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.254e-06/0.5157, allocations: 0 / 0.6784 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.002964/0.5187, allocations: 1.279 MB / 0.6796 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.5187, allocations: 62.42 kB / 0.6797 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.5208, allocations: 1.583 MB / 0.6812 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.626e-05/0.5208, allocations: 42.88 kB / 0.6813 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006632/0.5215, allocations: 0.868 MB / 0.6821 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.5217, allocations: 224.3 kB / 0.6823 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.5218, allocations: 24.44 kB / 0.6824 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5219, allocations: 343.2 kB / 0.6827 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009354/0.5228, allocations: 377.1 kB / 0.683 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.524, allocations: 0.749 MB / 0.6838 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.525, allocations: 494.5 kB / 0.6842 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.525, allocations: 2.219 kB / 0.6843 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00254/0.5275, allocations: 1.296 MB / 0.6855 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.00126/0.5288, allocations: 4.362 MB / 0.6898 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.5288, allocations: 9.938 kB / 0.6898 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.5289, allocations: 17.66 kB / 0.6898 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/0.5298, allocations: 274.4 kB / 0.6901 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/0.5299, allocations: 27.92 kB / 0.6901 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.5313, allocations: 143.7 kB / 0.6902 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/0.5314, allocations: 54.48 kB / 0.6903 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/0.5314, allocations: 7.719 kB / 0.6903 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002236/0.5336, allocations: 1.117 MB / 0.6914 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5337, allocations: 10.78 kB / 0.6914 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.5337, allocations: 17.56 kB / 0.6914 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009386/0.5346, allocations: 274.3 kB / 0.6917 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/0.5347, allocations: 22.72 kB / 0.6917 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.5358, allocations: 129 kB / 0.6918 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/0.5359, allocations: 60.33 kB / 0.6919 GB, free: 5.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * 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.0007787/0.5367, allocations: 484.2 kB / 0.6923 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.5369, allocations: 162.6 kB / 0.6925 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.5394, allocations: 1.164 MB / 0.6936 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.5395, allocations: 13.95 kB / 0.6936 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5395, allocations: 1.375 kB / 0.6936 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001805/0.5413, allocations: 0.9949 MB / 0.6946 GB, free: 4.539 MB / 0.5137 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.00414/0.5454, allocations: 2.494 MB / 0.697 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5455, allocations: 0 / 0.697 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006978/0.5462, allocations: 157.2 kB / 0.6972 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.5463, allocations: 36.44 kB / 0.6972 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/0.5464, allocations: 21.81 kB / 0.6973 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.5475, allocations: 1.387 MB / 0.6986 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5475, allocations: 1.031 kB / 0.6986 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/0.5506, allocations: 1.64 MB / 0.7002 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006589/0.5513, allocations: 366 kB / 0.7006 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.5515, allocations: 16.67 kB / 0.7006 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009821/0.5525, allocations: 116 kB / 0.7007 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.5526, allocations: 49.61 kB / 0.7007 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-05/0.5527, allocations: 39.94 kB / 0.7008 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001503/0.5542, allocations: 1.127 MB / 0.7019 GB, free: 28 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5542, allocations: 0 / 0.7019 GB, free: 28 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002672/0.5569, allocations: 0.8984 MB / 0.7027 GB, free: 15.83 MB / 0.5294 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001439/0.5583, allocations: 0.7268 MB / 0.7035 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003191/0.5615, allocations: 1.612 MB / 0.705 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5616, allocations: 0 / 0.705 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.5626, allocations: 0.5685 MB / 0.7056 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/0.5654, allocations: 0.7127 MB / 0.7063 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.5704, allocations: 3.731 MB / 0.7099 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007849/0.5712, allocations: 1.396 MB / 0.7113 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001444/0.5726, allocations: 430.7 kB / 0.7117 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.5729, allocations: 135.9 kB / 0.7118 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.5729, allocations: 4 kB / 0.7118 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of Templates: time 0.04347/0.6164, allocations: 30.36 MB / 0.7415 GB, free: 12.5 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) Environment - environmentSimulation: