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.0008258/0.0008258, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.008019/0.008019, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.569/1.569, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4024/0.4024, allocations: 55.02 MB / 325.8 MB, free: 0.5742 MB / 254.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.0005618/0.0005618, allocations: 12 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3526, allocations: 60.72 MB / 458 MB, free: 38.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example2): time 0.02301/0.3756, allocations: 28.59 MB / 486.6 MB, free: 21.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01582/0.3915, allocations: 12.32 MB / 498.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.3935, allocations: 44.5 kB / 498.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.3953, allocations: 0.5969 MB / 499.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00371/0.399, allocations: 1.307 MB / 0.4891 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.4023, allocations: 1.234 MB / 0.4903 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006092/0.4084, allocations: 4.996 MB / 0.4952 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/0.4105, allocations: 1.085 MB / 0.4962 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.4136, allocations: 1.228 MB / 0.4974 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.4158, allocations: 1.027 MB / 0.4984 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.416, allocations: 54.69 kB / 0.4985 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.419, allocations: 1.075 MB / 0.4995 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004686/0.4194, allocations: 325.4 kB / 0.4999 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.4205, allocations: 0.7299 MB / 0.5006 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003939/0.4245, allocations: 2.361 MB / 0.5029 GB, free: 6.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4245, allocations: 0 / 0.5029 GB, free: 6.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4245, allocations: 0 / 0.5029 GB, free: 6.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.4245, allocations: 0 / 0.5029 GB, free: 6.43 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.00356/0.4281, allocations: 1.657 MB / 0.5045 GB, free: 5.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4282, allocations: 10.09 kB / 0.5045 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.4293, allocations: 260.5 kB / 0.5048 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.4318, allocations: 1.297 MB / 0.506 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/0.4319, allocations: 69.55 kB / 0.5061 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.432, allocations: 90.91 kB / 0.5062 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003238/0.4353, allocations: 1.213 MB / 0.5074 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.4353, allocations: 5.312 kB / 0.5074 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.4354, allocations: 33.33 kB / 0.5074 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.4355, allocations: 20 kB / 0.5074 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/0.4386, allocations: 0.9403 MB / 0.5083 GB, free: 3.605 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.007659/0.4463, allocations: 5.323 MB / 0.5135 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.4489, allocations: 0.752 MB / 0.5143 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.4496, allocations: 324.7 kB / 0.5146 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002449/0.4521, allocations: 1.309 MB / 0.5158 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002017/0.4541, allocations: 0.5501 MB / 0.5164 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007528/0.4549, allocations: 106.5 kB / 0.5165 GB, free: 13.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 4.288e-06/0.4549, allocations: 0 / 0.5165 GB, free: 13.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.01154/0.4664, allocations: 2.809 MB / 0.5192 GB, free: 11.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.4666, allocations: 138.4 kB / 0.5194 GB, free: 11.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/0.4693, allocations: 1.268 MB / 0.5206 GB, free: 10.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.4695, allocations: 44.64 kB / 0.5206 GB, free: 10.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007769/0.4703, allocations: 0.6437 MB / 0.5213 GB, free: 10.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.4705, allocations: 168.2 kB / 0.5214 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.4707, allocations: 71.55 kB / 0.5215 GB, free: 10.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4708, allocations: 333.4 kB / 0.5218 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009463/0.4718, allocations: 342.8 kB / 0.5221 GB, free: 9.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.473, allocations: 0.7068 MB / 0.5228 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.4749, allocations: 0.9564 MB / 0.5238 GB, free: 7.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.4749, allocations: 3.938 kB / 0.5238 GB, free: 7.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005121/0.4801, allocations: 1.421 MB / 0.5252 GB, free: 6.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000275/0.4804, allocations: 369.9 kB / 0.5255 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4804, allocations: 15.98 kB / 0.5255 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008775/0.4813, allocations: 289.2 kB / 0.5258 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/0.482, allocations: 163.7 kB / 0.526 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008952/0.4909, allocations: 3.613 MB / 0.5295 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.4925, allocations: 83.98 kB / 0.5296 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.4927, allocations: 47.98 kB / 0.5296 GB, free: 1.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.4928, allocations: 4 kB / 0.5296 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002004/0.4948, allocations: 0.9938 MB / 0.5306 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.4948, allocations: 11.98 kB / 0.5306 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002168/0.495, allocations: 104.8 kB / 0.5307 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.4956, allocations: 161.3 kB / 0.5309 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.4978, allocations: 2.163 MB / 0.533 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.499, allocations: 75.86 kB / 0.533 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.4991, allocations: 44.17 kB / 0.5331 GB, free: 13.88 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 (81): * Single equations (assignments): 78 * 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.001066/0.5002, allocations: 476.7 kB / 0.5335 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.5006, allocations: 138.3 kB / 0.5337 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/0.5047, allocations: 1.146 MB / 0.5348 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.5047, allocations: 8 kB / 0.5348 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.5047, allocations: 3.984 kB / 0.5348 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003378/0.5081, allocations: 1.164 MB / 0.5359 GB, free: 10.86 MB / 414.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 postOpt removeSimpleEquations (simulation): time 0.006845/0.515, allocations: 2.321 MB / 0.5382 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.515, allocations: 0 / 0.5382 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.5154, allocations: 87.88 kB / 0.5383 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007833/0.5162, allocations: 284.6 kB / 0.5386 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.5163, allocations: 19.98 kB / 0.5386 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00827/0.5246, allocations: 3.369 MB / 0.5419 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.5246, allocations: 7.984 kB / 0.5419 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004953/0.5296, allocations: 1.578 MB / 0.5434 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009146/0.5305, allocations: 283.4 kB / 0.5437 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004248/0.5309, allocations: 12 kB / 0.5437 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.5322, allocations: 91.81 kB / 0.5438 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.5324, allocations: 56.3 kB / 0.5438 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.981e-05/0.5325, allocations: 27.97 kB / 0.5439 GB, free: 2.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001951/0.5345, allocations: 0.8737 MB / 0.5447 GB, free: 1.586 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5345, allocations: 4 kB / 0.5447 GB, free: 1.582 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003595/0.5381, allocations: 0.6444 MB / 0.5454 GB, free: 0.9375 MB / 414.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 (46): * Single equations (assignments): 40 * 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.001413/0.5395, allocations: 360.5 kB / 0.5457 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005028/0.5446, allocations: 1.782 MB / 0.5474 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.5446, allocations: 4 kB / 0.5474 GB, free: 14.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.5469, allocations: 0.6464 MB / 0.5481 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003564/0.5505, allocations: 0.5806 MB / 0.5486 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.5559, allocations: 2.881 MB / 0.5515 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.5573, allocations: 1.284 MB / 0.5527 GB, free: 9.285 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002256/0.5596, allocations: 325 kB / 0.553 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/0.5601, allocations: 103.4 kB / 0.5531 GB, free: 8.867 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5601, allocations: 4 kB / 0.5531 GB, free: 8.863 MB / 430.1 MB Notification: Performance of Templates: time 0.07209/0.6322, allocations: 29.1 MB / 0.5815 GB, free: 11.94 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: