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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 192.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4135/0.4135, allocations: 54.94 MB / 324.7 MB, free: 15.91 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 68.28 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1505, allocations: 59.6 MB / 454.9 MB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example2): time 0.2886/0.4391, allocations: 29.48 MB / 484.4 MB, free: 20.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01773/0.4569, allocations: 12.02 MB / 496.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.4596, allocations: 44.06 kB / 496.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.462, allocations: 0.6948 MB / 497.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.4663, allocations: 1.402 MB / 498.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003487/0.4698, allocations: 1.38 MB / 499.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005565/0.4754, allocations: 3.749 MB / 0.4919 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.4775, allocations: 1.31 MB / 0.4932 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004075/0.4816, allocations: 1.443 MB / 0.4946 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.4839, allocations: 1.054 MB / 0.4956 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003697/0.4842, allocations: 126.2 kB / 0.4957 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.4876, allocations: 1.136 MB / 0.4968 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005754/0.4882, allocations: 409.3 kB / 0.4972 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.4895, allocations: 0.7942 MB / 0.498 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004407/0.4939, allocations: 2.433 MB / 0.5004 GB, free: 5.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.494, allocations: 3.938 kB / 0.5004 GB, free: 5.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.494, allocations: 0 / 0.5004 GB, free: 5.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.494, allocations: 0 / 0.5004 GB, free: 5.09 MB / 382.1 MB 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.003705/0.4977, allocations: 1.929 MB / 0.5023 GB, free: 3.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4978, allocations: 9.625 kB / 0.5023 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.499, allocations: 259.2 kB / 0.5025 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.5013, allocations: 1.266 MB / 0.5038 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.506e-05/0.5014, allocations: 68.86 kB / 0.5038 GB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.5015, allocations: 91.28 kB / 0.5039 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.5046, allocations: 1.207 MB / 0.5051 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.5046, allocations: 1.281 kB / 0.5051 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.608e-05/0.5047, allocations: 38.45 kB / 0.5051 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.5047, allocations: 19.94 kB / 0.5051 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/0.5076, allocations: 0.914 MB / 0.506 GB, free: 2.121 MB / 382.1 MB 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.006959/0.5145, allocations: 5.256 MB / 0.5112 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.5172, allocations: 0.735 MB / 0.5119 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/0.518, allocations: 319.6 kB / 0.5122 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002568/0.5206, allocations: 1.309 MB / 0.5135 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002067/0.5226, allocations: 0.5488 MB / 0.514 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005588/0.5232, allocations: 63.17 kB / 0.5141 GB, free: 12.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.285e-06/0.5232, allocations: 0 / 0.5141 GB, free: 12.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.01134/0.5346, allocations: 2.779 MB / 0.5168 GB, free: 10.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.5348, allocations: 138.9 kB / 0.5169 GB, free: 10.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/0.5377, allocations: 1.281 MB / 0.5182 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.5378, allocations: 43.41 kB / 0.5182 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007658/0.5386, allocations: 0.6449 MB / 0.5188 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.5389, allocations: 173 kB / 0.519 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003968/0.5393, allocations: 183.6 kB / 0.5192 GB, free: 9.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.5395, allocations: 334 kB / 0.5195 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.5405, allocations: 350.8 kB / 0.5198 GB, free: 8.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.5418, allocations: 0.6921 MB / 0.5205 GB, free: 7.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.5437, allocations: 0.9501 MB / 0.5214 GB, free: 7.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5438, allocations: 9.938 kB / 0.5214 GB, free: 7.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005161/0.5489, allocations: 1.421 MB / 0.5228 GB, free: 6.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.865e-05/0.549, allocations: 41.69 kB / 0.5229 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.549, allocations: 8 kB / 0.5229 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008797/0.5499, allocations: 299.4 kB / 0.5232 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.5506, allocations: 161.1 kB / 0.5233 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009381/0.56, allocations: 3.873 MB / 0.5271 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.5614, allocations: 56.02 kB / 0.5272 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-05/0.5615, allocations: 39.98 kB / 0.5272 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001206/0.5627, allocations: 0.5837 MB / 0.5278 GB, free: 1.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008081/0.5635, allocations: 0.6169 MB / 0.5284 GB, free: 320 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001254/0.5648, allocations: 0.8157 MB / 0.5292 GB, free: 15.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.636e-06/0.5648, allocations: 9.125 kB / 0.5292 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.002289/0.5671, allocations: 1.139 MB / 0.5303 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.5672, allocations: 33.7 kB / 0.5303 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.5672, allocations: 8 kB / 0.5303 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.5674, allocations: 108.8 kB / 0.5304 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/0.568, allocations: 151.9 kB / 0.5306 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.5702, allocations: 2.356 MB / 0.5329 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.5713, allocations: 47.98 kB / 0.5329 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.5713, allocations: 35.98 kB / 0.533 GB, free: 11.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004119/0.5717, allocations: 244.9 kB / 0.5332 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.572, allocations: 130.4 kB / 0.5333 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003748/0.5757, allocations: 1.154 MB / 0.5344 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.5758, allocations: 8 kB / 0.5344 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.5758, allocations: 0 / 0.5344 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003198/0.579, allocations: 1.156 MB / 0.5356 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005848/0.5849, allocations: 2.249 MB / 0.5378 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.5849, allocations: 0 / 0.5378 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.5853, allocations: 83.88 kB / 0.5378 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007677/0.5861, allocations: 284.6 kB / 0.5381 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.5862, allocations: 23.97 kB / 0.5381 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008124/0.5943, allocations: 3.696 MB / 0.5418 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5943, allocations: 0 / 0.5418 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004767/0.5991, allocations: 1.562 MB / 0.5433 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008983/0.6, allocations: 271.3 kB / 0.5435 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.6002, allocations: 12.5 kB / 0.5435 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007195/0.6009, allocations: 39.95 kB / 0.5436 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.6012, allocations: 56.45 kB / 0.5436 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.544e-05/0.6012, allocations: 27.92 kB / 0.5437 GB, free: 15.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001415/0.6027, allocations: 0.8854 MB / 0.5445 GB, free: 15.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6027, allocations: 0 / 0.5445 GB, free: 15.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002569/0.6052, allocations: 0.6249 MB / 0.5451 GB, free: 14.46 MB / 430.1 MB 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.6063, allocations: 369.2 kB / 0.5455 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004796/0.6111, allocations: 1.843 MB / 0.5473 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6111, allocations: 0 / 0.5473 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.6133, allocations: 0.6464 MB / 0.5479 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/0.6164, allocations: 0.6173 MB / 0.5485 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.6206, allocations: 2.403 MB / 0.5509 GB, free: 8.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008825/0.6215, allocations: 1.288 MB / 0.5521 GB, free: 7.227 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001337/0.6229, allocations: 317.5 kB / 0.5524 GB, free: 6.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.6231, allocations: 103.4 kB / 0.5525 GB, free: 6.816 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6231, allocations: 11.88 kB / 0.5525 GB, free: 6.805 MB / 430.1 MB Notification: Performance of Templates: time 0.05226/0.6754, allocations: 30.66 MB / 0.5825 GB, free: 8.328 MB / 462.1 MB 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)