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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8488/0.8488, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 221.3 MB / 400.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 94.94 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.007e-05, allocations: 3.844 kB / 0.56 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1885, allocations: 82.31 MB / 0.6404 GB, free: 7.863 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.398/1.587, allocations: 415.1 MB / 1.046 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.587, allocations: 91.95 kB / 1.046 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.3/5.887, allocations: 1.184 GB / 2.229 GB, free: 65.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.406e-06/5.887, allocations: 0 / 2.229 GB, free: 65.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002764/5.887, allocations: 47.12 kB / 2.229 GB, free: 65.69 MB / 0.698 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.005847/5.893, allocations: 2.036 MB / 2.231 GB, free: 63.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.326e-05/5.893, allocations: 8.031 kB / 2.231 GB, free: 63.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002827/5.896, allocations: 454.9 kB / 2.232 GB, free: 63.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00655/5.903, allocations: 2.268 MB / 2.234 GB, free: 60.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/5.903, allocations: 90.19 kB / 2.234 GB, free: 60.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/5.903, allocations: 127.7 kB / 2.234 GB, free: 60.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/5.905, allocations: 1.21 MB / 2.235 GB, free: 59.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/5.905, allocations: 7.938 kB / 2.235 GB, free: 59.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/5.905, allocations: 44 kB / 2.236 GB, free: 59.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/5.905, allocations: 49.28 kB / 2.236 GB, free: 59.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/5.907, allocations: 0.8319 MB / 2.236 GB, free: 58.48 MB / 0.698 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.007695/5.914, allocations: 6.931 MB / 2.243 GB, free: 51.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009793/5.915, allocations: 1.137 MB / 2.244 GB, free: 49.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/5.916, allocations: 330.5 kB / 2.245 GB, free: 49.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004476/5.92, allocations: 3.014 MB / 2.248 GB, free: 46.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005052/5.921, allocations: 355 kB / 2.248 GB, free: 45.83 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006397/5.921, allocations: 91.33 kB / 2.248 GB, free: 45.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 2.885e-06/5.921, allocations: 0 / 2.248 GB, free: 45.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.00112/5.923, allocations: 0.6813 MB / 2.249 GB, free: 45.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/5.923, allocations: 111.4 kB / 2.249 GB, free: 44.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/5.924, allocations: 1.317 MB / 2.25 GB, free: 43.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/5.924, allocations: 41.7 kB / 2.25 GB, free: 43.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/5.925, allocations: 0.8816 MB / 2.251 GB, free: 42.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/5.925, allocations: 216.9 kB / 2.251 GB, free: 42.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/5.925, allocations: 23.17 kB / 2.251 GB, free: 42.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.778e-05/5.925, allocations: 341.9 kB / 2.251 GB, free: 42.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/5.925, allocations: 258 kB / 2.252 GB, free: 41.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/5.926, allocations: 0.6741 MB / 2.252 GB, free: 40.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/5.926, allocations: 385.9 kB / 2.253 GB, free: 40.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/5.926, allocations: 4 kB / 2.253 GB, free: 40.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001476/5.928, allocations: 1.062 MB / 2.254 GB, free: 39.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007925/5.929, allocations: 4.461 MB / 2.258 GB, free: 34.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/5.929, allocations: 12 kB / 2.258 GB, free: 34.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/5.929, allocations: 20 kB / 2.258 GB, free: 34.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000894/5.93, allocations: 239.6 kB / 2.258 GB, free: 34.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/5.93, allocations: 23.92 kB / 2.258 GB, free: 34.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/5.931, allocations: 119.7 kB / 2.259 GB, free: 34.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-05/5.931, allocations: 67.92 kB / 2.259 GB, free: 34.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/5.931, allocations: 4 kB / 2.259 GB, free: 34.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/5.932, allocations: 0.8945 MB / 2.259 GB, free: 33.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/5.932, allocations: 11.98 kB / 2.259 GB, free: 33.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/5.932, allocations: 20 kB / 2.26 GB, free: 33.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007752/5.933, allocations: 236.2 kB / 2.26 GB, free: 33.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/5.933, allocations: 27.86 kB / 2.26 GB, free: 33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/5.934, allocations: 112.9 kB / 2.26 GB, free: 32.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/5.934, allocations: 53.61 kB / 2.26 GB, free: 32.84 MB / 0.698 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.0002006/5.935, allocations: 168.7 kB / 2.26 GB, free: 32.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/5.935, allocations: 173.8 kB / 2.26 GB, free: 32.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/5.937, allocations: 0.9543 MB / 2.261 GB, free: 31.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/5.937, allocations: 8 kB / 2.261 GB, free: 31.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/5.937, allocations: 0 / 2.261 GB, free: 31.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008579/5.937, allocations: 0.79 MB / 2.262 GB, free: 30.69 MB / 0.698 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.003159/5.941, allocations: 2.203 MB / 2.264 GB, free: 28.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/5.941, allocations: 4 kB / 2.264 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/5.941, allocations: 139.8 kB / 2.264 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/5.941, allocations: 28.84 kB / 2.264 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/5.942, allocations: 27.45 kB / 2.264 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007944/5.942, allocations: 1.303 MB / 2.266 GB, free: 26.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/5.942, allocations: 7.969 kB / 2.266 GB, free: 26.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/5.944, allocations: 1.321 MB / 2.267 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/5.944, allocations: 346.7 kB / 2.267 GB, free: 25.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/5.945, allocations: 15.98 kB / 2.267 GB, free: 25.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008766/5.945, allocations: 99.81 kB / 2.267 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/5.946, allocations: 52.48 kB / 2.267 GB, free: 24.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/5.946, allocations: 31.97 kB / 2.267 GB, free: 24.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001188/5.947, allocations: 1.066 MB / 2.268 GB, free: 23.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/5.947, allocations: 0 / 2.268 GB, free: 23.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002917/5.95, allocations: 0.981 MB / 2.269 GB, free: 22.79 MB / 0.698 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.002254/5.952, allocations: 1.272 MB / 2.271 GB, free: 21.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001985/5.954, allocations: 1.352 MB / 2.272 GB, free: 20.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/5.954, allocations: 4.812 kB / 2.272 GB, free: 20.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006607/5.955, allocations: 458.2 kB / 2.272 GB, free: 19.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003257/5.958, allocations: 0.7181 MB / 2.273 GB, free: 19.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/5.962, allocations: 2.317 MB / 2.275 GB, free: 16.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007072/5.963, allocations: 1.399 MB / 2.277 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002593/5.965, allocations: 0.6046 MB / 2.277 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/5.966, allocations: 107.4 kB / 2.277 GB, free: 14.85 MB / 0.698 GB Notification: Performance of SimCode: time 1.523e-06/5.966, allocations: 4 kB / 2.277 GB, free: 14.85 MB / 0.698 GB Notification: Performance of Templates: time 0.5063/6.472, allocations: 39.18 MB / 2.316 GB, free: 98.96 MB / 0.7136 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)