Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2") translateModel(Annex60.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2891/0.2891, allocations: 54.33 MB / 66.89 MB, free: 6.113 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001208/0.001208, allocations: 192 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.466/1.466, allocations: 194.2 MB / 288.6 MB, free: 14.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001588/0.001588, allocations: 104.6 kB / 346.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.574e-05, allocations: 8 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 57.65 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1/1.123, allocations: 348.5 MB / 0.7994 GB, free: 30.35 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.124, allocations: 89.45 kB / 0.7995 GB, free: 30.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913/3.037, allocations: 453.7 MB / 1.242 GB, free: 78.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.863e-06/3.037, allocations: 3.609 kB / 1.242 GB, free: 78.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001792/3.037, allocations: 39.62 kB / 1.243 GB, free: 78.72 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003359/3.04, allocations: 1.516 MB / 1.244 GB, free: 78.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/3.041, allocations: 14.05 kB / 1.244 GB, free: 78.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/3.042, allocations: 275.8 kB / 1.244 GB, free: 78.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00443/3.046, allocations: 1.953 MB / 1.246 GB, free: 77.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/3.047, allocations: 66.44 kB / 1.246 GB, free: 77.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/3.047, allocations: 87.25 kB / 1.246 GB, free: 77.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/3.049, allocations: 1.121 MB / 1.247 GB, free: 77.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/3.049, allocations: 0 / 1.247 GB, free: 77.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-05/3.049, allocations: 33.62 kB / 1.247 GB, free: 77.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/3.049, allocations: 21.34 kB / 1.247 GB, free: 77.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/3.051, allocations: 0.8062 MB / 1.248 GB, free: 77.47 MB / 0.4948 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.006795/3.058, allocations: 5.016 MB / 1.253 GB, free: 74.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/3.06, allocations: 0.6541 MB / 1.254 GB, free: 74.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000566/3.061, allocations: 291.3 kB / 1.254 GB, free: 74.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002154/3.063, allocations: 1.246 MB / 1.255 GB, free: 74.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/3.064, allocations: 499.3 kB / 1.256 GB, free: 73.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006106/3.065, allocations: 117.2 kB / 1.256 GB, free: 73.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 2.725e-06/3.065, allocations: 0.9375 kB / 1.256 GB, free: 73.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51): time 0.006522/3.071, allocations: 2.059 MB / 1.258 GB, free: 73.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/3.071, allocations: 140.5 kB / 1.258 GB, free: 73.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/3.073, allocations: 1.106 MB / 1.259 GB, free: 73.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/3.073, allocations: 40.64 kB / 1.259 GB, free: 73.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/3.074, allocations: 0.6501 MB / 1.26 GB, free: 72.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/3.074, allocations: 178 kB / 1.26 GB, free: 72.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/3.074, allocations: 17.09 kB / 1.26 GB, free: 72.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/3.074, allocations: 334.4 kB / 1.26 GB, free: 72.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/3.075, allocations: 268.6 kB / 1.261 GB, free: 72.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007651/3.076, allocations: 0.6178 MB / 1.261 GB, free: 72.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006531/3.076, allocations: 376.7 kB / 1.262 GB, free: 71.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/3.076, allocations: 2.562 kB / 1.262 GB, free: 71.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002935/3.079, allocations: 1.209 MB / 1.263 GB, free: 71.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007515/3.08, allocations: 3.23 MB / 1.266 GB, free: 68.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/3.08, allocations: 7.906 kB / 1.266 GB, free: 68.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004855/3.081, allocations: 247.4 kB / 1.266 GB, free: 68.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/3.081, allocations: 165 kB / 1.266 GB, free: 68.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/3.083, allocations: 0.9622 MB / 1.267 GB, free: 67.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/3.084, allocations: 98.31 kB / 1.267 GB, free: 67.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/3.085, allocations: 43.05 kB / 1.267 GB, free: 67.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/3.085, allocations: 3.781 kB / 1.267 GB, free: 67.97 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001645/3.086, allocations: 0.9276 MB / 1.268 GB, free: 67.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/3.086, allocations: 8.875 kB / 1.268 GB, free: 67.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/3.086, allocations: 109.8 kB / 1.268 GB, free: 67.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/3.087, allocations: 156.9 kB / 1.269 GB, free: 67.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/3.089, allocations: 2.155 MB / 1.271 GB, free: 66.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/3.09, allocations: 76.61 kB / 1.271 GB, free: 66.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/3.09, allocations: 42.3 kB / 1.271 GB, free: 66.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002559/3.09, allocations: 158.7 kB / 1.271 GB, free: 66.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/3.091, allocations: 141.4 kB / 1.271 GB, free: 66.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/3.094, allocations: 1.057 MB / 1.272 GB, free: 66.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/3.094, allocations: 9.484 kB / 1.272 GB, free: 66.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/3.094, allocations: 1.219 kB / 1.272 GB, free: 66.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002212/3.096, allocations: 1.062 MB / 1.273 GB, free: 65.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005657/3.101, allocations: 2.209 MB / 1.275 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/3.102, allocations: 3.219 kB / 1.275 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/3.102, allocations: 98.14 kB / 1.275 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/3.102, allocations: 234.6 kB / 1.276 GB, free: 65.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/3.103, allocations: 22.3 kB / 1.276 GB, free: 65.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005905/3.108, allocations: 3.189 MB / 1.279 GB, free: 63.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/3.108, allocations: 3.844 kB / 1.279 GB, free: 63.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/3.112, allocations: 1.487 MB / 1.28 GB, free: 63.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006863/3.112, allocations: 284.4 kB / 1.28 GB, free: 63.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/3.112, allocations: 10.97 kB / 1.28 GB, free: 63.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007803/3.113, allocations: 86.94 kB / 1.281 GB, free: 63.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/3.113, allocations: 64.39 kB / 1.281 GB, free: 63.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/3.113, allocations: 28.73 kB / 1.281 GB, free: 63.35 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001263/3.115, allocations: 0.866 MB / 1.281 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.503e-06/3.115, allocations: 0 / 1.281 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002887/3.118, allocations: 0.7151 MB / 1.282 GB, free: 63.19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (pump_dp.vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001492/3.119, allocations: 0.7608 MB / 1.283 GB, free: 63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003473/3.123, allocations: 1.518 MB / 1.284 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/3.123, allocations: 0 / 1.284 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/3.124, allocations: 0.603 MB / 1.285 GB, free: 62.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/3.127, allocations: 0.5816 MB / 1.286 GB, free: 62.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/3.13, allocations: 1.767 MB / 1.287 GB, free: 62.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/3.131, allocations: 1.311 MB / 1.289 GB, free: 61.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001902/3.132, allocations: 0.5781 MB / 1.289 GB, free: 61.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/3.133, allocations: 84.48 kB / 1.289 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of SimCode: time 9.72e-07/3.133, allocations: 0 / 1.289 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of Templates: time 0.05311/3.186, allocations: 34.37 MB / 1.323 GB, free: 59.6 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.pipe 2>&1)