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.001078/0.001078, allocations: 114.4 kB / 16.37 MB, free: 6.012 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.001123/0.001123, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.243/1.243, 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.755/0.755, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.91 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3384, allocations: 80.91 MB / 0.5858 GB, free: 25.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04041/0.3788, allocations: 53.27 MB / 0.6378 GB, free: 5.152 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01989/0.3987, allocations: 15.19 MB / 0.6526 GB, free: 5.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.4012, allocations: 87.5 kB / 0.6527 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.4039, allocations: 1.107 MB / 0.6538 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005325/0.4092, allocations: 2.349 MB / 0.6561 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004762/0.414, allocations: 2.258 MB / 0.6583 GB, free: 132 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00523/0.4192, allocations: 4.628 MB / 0.6628 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.4212, allocations: 1.631 MB / 0.6644 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.4246, allocations: 1.908 MB / 0.6663 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.4261, allocations: 1.365 MB / 0.6676 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.4263, allocations: 164 kB / 0.6677 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.4293, allocations: 1.841 MB / 0.6695 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004408/0.4298, allocations: 0.5178 MB / 0.67 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009148/0.4307, allocations: 1.041 MB / 0.6711 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.4346, allocations: 3.318 MB / 0.6743 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4346, allocations: 4 kB / 0.6743 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4346, allocations: 0 / 0.6743 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.012e-05/0.4347, allocations: 0 / 0.6743 GB, free: 15.64 MB / 0.5137 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.004952/0.4396, allocations: 2.521 MB / 0.6768 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4397, allocations: 9.109 kB / 0.6768 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.4416, allocations: 457.5 kB / 0.6772 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/0.4445, allocations: 1.676 MB / 0.6789 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.4446, allocations: 86.2 kB / 0.6789 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.4448, allocations: 120 kB / 0.679 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.447, allocations: 1.346 MB / 0.6804 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.447, allocations: 7.938 kB / 0.6804 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.82e-05/0.4471, allocations: 44 kB / 0.6804 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.34e-05/0.4472, allocations: 46 kB / 0.6805 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.4495, allocations: 1.081 MB / 0.6815 GB, free: 8.039 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 preOpt removeSimpleEquations (simulation): time 0.007822/0.4573, allocations: 7.076 MB / 0.6884 GB, free: 424 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.4595, allocations: 1.343 MB / 0.6897 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008438/0.4604, allocations: 430.9 kB / 0.6901 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004473/0.4649, allocations: 3.078 MB / 0.6932 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009391/0.4658, allocations: 446.8 kB / 0.6936 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 1.904e-06/0.4658, allocations: 0 / 0.6936 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.002752/0.4686, allocations: 1.209 MB / 0.6948 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.4686, allocations: 59.91 kB / 0.6948 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.4703, allocations: 1.537 MB / 0.6963 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.4704, allocations: 37.7 kB / 0.6964 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006144/0.471, allocations: 0.88 MB / 0.6972 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.4711, allocations: 216.9 kB / 0.6974 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.4714, allocations: 202.4 kB / 0.6976 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4716, allocations: 345.9 kB / 0.6979 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008386/0.4724, allocations: 384.6 kB / 0.6983 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.4735, allocations: 0.7476 MB / 0.699 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.4754, allocations: 1.117 MB / 0.7001 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4754, allocations: 4 kB / 0.7001 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002361/0.4777, allocations: 1.289 MB / 0.7014 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.4778, allocations: 37.69 kB / 0.7014 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.4778, allocations: 12 kB / 0.7014 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.4778, allocations: 16.62 kB / 0.7015 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009412/0.4788, allocations: 255.6 kB / 0.7017 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/0.4788, allocations: 23.88 kB / 0.7017 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008902/0.4797, allocations: 143.6 kB / 0.7019 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.4798, allocations: 51.98 kB / 0.7019 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001181/0.481, allocations: 0.6697 MB / 0.7026 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001028/0.482, allocations: 0.732 MB / 0.7033 GB, free: 120 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00187/0.4839, allocations: 1.089 MB / 0.7043 GB, free: 14.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.671e-06/0.4839, allocations: 4 kB / 0.7043 GB, free: 14.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002304/0.4862, allocations: 1.259 MB / 0.7056 GB, free: 13.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.4863, allocations: 41.7 kB / 0.7056 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4863, allocations: 12 kB / 0.7056 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4863, allocations: 16 kB / 0.7056 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009234/0.4872, allocations: 259.7 kB / 0.7059 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.4873, allocations: 23.92 kB / 0.7059 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008538/0.4881, allocations: 112 kB / 0.706 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/0.4882, allocations: 51.98 kB / 0.7061 GB, free: 13.07 MB / 0.545 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.4884, allocations: 251.8 kB / 0.7063 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.4886, allocations: 165.9 kB / 0.7065 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.491, allocations: 1.115 MB / 0.7076 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.491, allocations: 11.98 kB / 0.7076 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.491, allocations: 0 / 0.7076 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001731/0.4927, allocations: 0.951 MB / 0.7085 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.4967, allocations: 2.401 MB / 0.7108 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.4967, allocations: 7.938 kB / 0.7108 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007047/0.4975, allocations: 143.8 kB / 0.711 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/0.4976, allocations: 32.84 kB / 0.711 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.4977, allocations: 23.97 kB / 0.711 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.4988, allocations: 1.422 MB / 0.7124 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4988, allocations: 0 / 0.7124 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.5017, allocations: 1.535 MB / 0.7139 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/0.5022, allocations: 350.5 kB / 0.7143 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.5024, allocations: 16 kB / 0.7143 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007573/0.5032, allocations: 59.86 kB / 0.7143 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.5033, allocations: 56.48 kB / 0.7144 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/0.5034, allocations: 31.98 kB / 0.7144 GB, free: 4.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001401/0.5048, allocations: 1.093 MB / 0.7155 GB, free: 3.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5048, allocations: 3.938 kB / 0.7155 GB, free: 3.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002077/0.5069, allocations: 0.8576 MB / 0.7163 GB, free: 2.227 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001657/0.5085, allocations: 0.7248 MB / 0.717 GB, free: 1.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003296/0.5119, allocations: 1.577 MB / 0.7186 GB, free: 60 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.5119, allocations: 4 kB / 0.7186 GB, free: 56 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.513, allocations: 0.5386 MB / 0.7191 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/0.5162, allocations: 0.775 MB / 0.7199 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/0.5212, allocations: 3.027 MB / 0.7228 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008995/0.5221, allocations: 1.36 MB / 0.7241 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001418/0.5235, allocations: 405.9 kB / 0.7245 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.5239, allocations: 139.4 kB / 0.7247 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/0.5239, allocations: 0 / 0.7247 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of Templates: time 0.2803/0.8041, allocations: 31.46 MB / 0.7554 GB, free: 152.7 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)