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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008763/0.0008763, allocations: 99.62 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.0008729/0.0008729, 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.215/1.215, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8642/0.8642, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 8 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1661, allocations: 82.32 MB / 0.5872 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.2776/0.4438, allocations: 44.7 MB / 0.6309 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.4589, allocations: 13.26 MB / 0.6438 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.461, allocations: 67.78 kB / 0.6439 GB, free: 19.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.4632, allocations: 0.9174 MB / 0.6448 GB, free: 18.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005333/0.4686, allocations: 2.368 MB / 0.6471 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004773/0.4734, allocations: 2.076 MB / 0.6491 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004032/0.4774, allocations: 2.741 MB / 0.6518 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.4789, allocations: 1.241 MB / 0.653 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.481, allocations: 1.371 MB / 0.6543 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009843/0.482, allocations: 0.908 MB / 0.6552 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.4822, allocations: 69.62 kB / 0.6553 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.4845, allocations: 1.263 MB / 0.6565 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.4849, allocations: 398 kB / 0.6569 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004026/0.4853, allocations: 402.7 kB / 0.6573 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00269/0.488, allocations: 2.343 MB / 0.6596 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.488, allocations: 0 / 0.6596 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.488, allocations: 0 / 0.6596 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.986e-05/0.4881, allocations: 0 / 0.6596 GB, free: 11.79 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.003807/0.4919, allocations: 2.19 MB / 0.6617 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.4919, allocations: 9.312 kB / 0.6617 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.494, allocations: 488 kB / 0.6622 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/0.4968, allocations: 1.531 MB / 0.6637 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003897/0.4972, allocations: 156.1 kB / 0.6638 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.4974, allocations: 121.2 kB / 0.6639 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.5, allocations: 1.351 MB / 0.6653 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.5, allocations: 3.062 kB / 0.6653 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5001, allocations: 46.69 kB / 0.6653 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-05/0.5002, allocations: 41.95 kB / 0.6654 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.5027, allocations: 1.128 MB / 0.6665 GB, free: 8.254 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.008201/0.5109, allocations: 7.151 MB / 0.6734 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.5134, allocations: 1.436 MB / 0.6748 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0046/0.518, allocations: 3.097 MB / 0.6779 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.5191, allocations: 458.8 kB / 0.6783 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005062/0.5196, allocations: 89.2 kB / 0.6784 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.174e-06/0.5196, allocations: 0 / 0.6784 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.003071/0.5227, allocations: 1.279 MB / 0.6796 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.5227, allocations: 64.23 kB / 0.6797 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.5249, allocations: 1.578 MB / 0.6812 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/0.525, allocations: 43.83 kB / 0.6813 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007215/0.5257, allocations: 0.8705 MB / 0.6821 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.5259, allocations: 221.4 kB / 0.6823 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.526, allocations: 24.25 kB / 0.6824 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5261, allocations: 346.7 kB / 0.6827 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000889/0.527, allocations: 374.8 kB / 0.6831 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.5282, allocations: 0.7516 MB / 0.6838 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.5292, allocations: 489.5 kB / 0.6843 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/0.5292, allocations: 4.953 kB / 0.6843 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002601/0.5318, allocations: 1.289 MB / 0.6855 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001348/0.5332, allocations: 4.362 MB / 0.6898 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.5332, allocations: 14.92 kB / 0.6898 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/0.5333, allocations: 17.84 kB / 0.6898 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.5343, allocations: 276.1 kB / 0.6901 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.68e-05/0.5343, allocations: 22.53 kB / 0.6901 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.5357, allocations: 140 kB / 0.6902 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/0.5358, allocations: 54.03 kB / 0.6903 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.5358, allocations: 10.12 kB / 0.6903 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002242/0.5381, allocations: 1.123 MB / 0.6914 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5381, allocations: 10.31 kB / 0.6914 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.5381, allocations: 18 kB / 0.6914 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009511/0.5391, allocations: 269 kB / 0.6917 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/0.5391, allocations: 23 kB / 0.6917 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.5403, allocations: 127.9 kB / 0.6918 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.778e-05/0.5405, allocations: 57.86 kB / 0.6919 GB, free: 6.031 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.0008441/0.5413, allocations: 482.2 kB / 0.6923 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.5415, allocations: 163.4 kB / 0.6925 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.544, allocations: 1.165 MB / 0.6936 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.5441, allocations: 10.83 kB / 0.6936 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5441, allocations: 1.344 kB / 0.6936 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00186/0.546, allocations: 0.9981 MB / 0.6946 GB, free: 4.656 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.004276/0.5502, allocations: 2.492 MB / 0.697 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5503, allocations: 1.312 kB / 0.697 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007123/0.551, allocations: 159.7 kB / 0.6972 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/0.5512, allocations: 39.25 kB / 0.6972 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.691e-05/0.5513, allocations: 24.94 kB / 0.6973 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.553, allocations: 1.374 MB / 0.6986 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.553, allocations: 5.016 kB / 0.6986 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/0.5571, allocations: 1.64 MB / 0.7002 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008609/0.5579, allocations: 364.8 kB / 0.7006 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/0.5582, allocations: 21.2 kB / 0.7006 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.5592, allocations: 112.5 kB / 0.7007 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.5594, allocations: 57 kB / 0.7007 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/0.5594, allocations: 27.92 kB / 0.7008 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0017/0.5611, allocations: 1.128 MB / 0.7019 GB, free: 104 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5611, allocations: 0 / 0.7019 GB, free: 104 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002957/0.5641, allocations: 0.8985 MB / 0.7027 GB, free: 15.9 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.00152/0.5656, allocations: 0.7285 MB / 0.7035 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003367/0.569, allocations: 1.615 MB / 0.705 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.569, allocations: 0 / 0.705 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.5702, allocations: 0.5681 MB / 0.7056 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/0.5734, allocations: 0.7248 MB / 0.7063 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/0.5785, allocations: 3.731 MB / 0.7099 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008746/0.5794, allocations: 1.398 MB / 0.7113 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00153/0.5809, allocations: 412.7 kB / 0.7117 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.5813, allocations: 143.6 kB / 0.7118 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of SimCode: time 2.094e-06/0.5813, allocations: 4 kB / 0.7118 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.04579/0.6271, allocations: 30.36 MB / 0.7415 GB, free: 12.55 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: