Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001915/0.001915, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.002578/0.002578, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7887/0.7887, allocations: 132.2 MB / 423.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.89 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3846, allocations: 80.18 MB / 0.5807 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.0231/0.4078, allocations: 29.61 MB / 0.6096 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01426/0.4221, allocations: 9.918 MB / 0.6193 GB, free: 6.672 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.424, allocations: 47.75 kB / 0.6194 GB, free: 6.625 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.4261, allocations: 0.6777 MB / 0.62 GB, free: 5.945 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003905/0.4301, allocations: 1.453 MB / 0.6215 GB, free: 4.488 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.4335, allocations: 1.379 MB / 0.6228 GB, free: 3.117 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004673/0.4382, allocations: 3.811 MB / 0.6265 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.4401, allocations: 1.368 MB / 0.6279 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003098/0.4432, allocations: 1.481 MB / 0.6293 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.4449, allocations: 1.034 MB / 0.6303 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003825/0.4453, allocations: 120 kB / 0.6304 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.4479, allocations: 1.127 MB / 0.6315 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005936/0.4485, allocations: 394.6 kB / 0.6319 GB, free: 9.742 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.4498, allocations: 0.7967 MB / 0.6327 GB, free: 8.941 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00382/0.4536, allocations: 2.415 MB / 0.635 GB, free: 6.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4537, allocations: 3.984 kB / 0.635 GB, free: 6.516 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4537, allocations: 0 / 0.635 GB, free: 6.516 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.294e-05/0.4537, allocations: 0 / 0.635 GB, free: 6.516 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003943/0.4577, allocations: 1.938 MB / 0.6369 GB, free: 4.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4577, allocations: 12.03 kB / 0.637 GB, free: 4.508 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.459, allocations: 250.8 kB / 0.6372 GB, free: 4.262 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.4616, allocations: 1.288 MB / 0.6385 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.4617, allocations: 62 kB / 0.6385 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.4618, allocations: 88 kB / 0.6386 GB, free: 2.773 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.4636, allocations: 0.9849 MB / 0.6396 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.4636, allocations: 7.922 kB / 0.6396 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.631e-05/0.4637, allocations: 32 kB / 0.6396 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.4638, allocations: 20 kB / 0.6396 GB, free: 1.672 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.4653, allocations: 0.7025 MB / 0.6403 GB, free: 0.9688 MB / 478.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.005968/0.4713, allocations: 4.867 MB / 0.6451 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.4725, allocations: 0.5697 MB / 0.6456 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006309/0.4732, allocations: 310.1 kB / 0.6459 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002246/0.4754, allocations: 1.568 MB / 0.6474 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006878/0.4761, allocations: 336 kB / 0.6478 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000363/0.4765, allocations: 55.44 kB / 0.6478 GB, free: 8.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 3.406e-06/0.4765, allocations: 0 / 0.6478 GB, free: 8.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.003166/0.4797, allocations: 1.161 MB / 0.6489 GB, free: 7.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.4797, allocations: 59.39 kB / 0.649 GB, free: 7.516 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.4815, allocations: 1.282 MB / 0.6503 GB, free: 6.219 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.4816, allocations: 37.7 kB / 0.6503 GB, free: 6.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.4822, allocations: 0.6489 MB / 0.6509 GB, free: 5.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.4823, allocations: 149.9 kB / 0.6511 GB, free: 5.371 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.4826, allocations: 154.1 kB / 0.6512 GB, free: 5.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4827, allocations: 345.9 kB / 0.6515 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.4833, allocations: 263.7 kB / 0.6518 GB, free: 4.613 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008682/0.4842, allocations: 0.5943 MB / 0.6524 GB, free: 3.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.4856, allocations: 0.802 MB / 0.6532 GB, free: 2.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.4856, allocations: 8 kB / 0.6532 GB, free: 2.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002363/0.488, allocations: 1.094 MB / 0.6542 GB, free: 1.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.4881, allocations: 37.69 kB / 0.6543 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.4881, allocations: 8.531 kB / 0.6543 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006603/0.4888, allocations: 192.6 kB / 0.6545 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.4893, allocations: 147.7 kB / 0.6546 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007159/0.49, allocations: 0.7626 MB / 0.6553 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.4909, allocations: 44.69 kB / 0.6554 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/0.491, allocations: 39.98 kB / 0.6554 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009323/0.4919, allocations: 0.5561 MB / 0.656 GB, free: 20 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007288/0.4926, allocations: 0.5476 MB / 0.6565 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001113/0.4938, allocations: 0.755 MB / 0.6572 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.278e-06/0.4938, allocations: 0 / 0.6572 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001944/0.4957, allocations: 1.058 MB / 0.6583 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.4958, allocations: 33.7 kB / 0.6583 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4958, allocations: 8 kB / 0.6583 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.496, allocations: 108.7 kB / 0.6584 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.4965, allocations: 135.8 kB / 0.6585 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.4987, allocations: 2.366 MB / 0.6609 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000773/0.4995, allocations: 44.62 kB / 0.6609 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.4996, allocations: 36 kB / 0.6609 GB, free: 10.48 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (71): * Single equations (assignments): 68 * 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.0002726/0.4999, allocations: 236.1 kB / 0.6612 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.5002, allocations: 126.4 kB / 0.6613 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.5022, allocations: 0.8569 MB / 0.6621 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.5022, allocations: 11.92 kB / 0.6621 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5022, allocations: 4.109 kB / 0.6621 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/0.5036, allocations: 0.8803 MB / 0.663 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.5068, allocations: 1.783 MB / 0.6647 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5068, allocations: 0 / 0.6647 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.5072, allocations: 79.88 kB / 0.6648 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002966/0.5075, allocations: 135.6 kB / 0.6649 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.5076, allocations: 15.98 kB / 0.665 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006189/0.5082, allocations: 0.7512 MB / 0.6657 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5082, allocations: 0 / 0.6657 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.5105, allocations: 1.178 MB / 0.6668 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/0.5109, allocations: 251.4 kB / 0.6671 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.5112, allocations: 15.98 kB / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.5118, allocations: 35.94 kB / 0.6671 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.5119, allocations: 36.39 kB / 0.6672 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.863e-05/0.5119, allocations: 31.92 kB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001438/0.5134, allocations: 0.8858 MB / 0.6681 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5134, allocations: 7.875 kB / 0.6681 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002065/0.5155, allocations: 0.6473 MB / 0.6687 GB, free: 2.285 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * 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 (38): * Single equations (assignments): 32 * 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.001018/0.5165, allocations: 354.3 kB / 0.669 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002914/0.5194, allocations: 1.383 MB / 0.6704 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5194, allocations: 0 / 0.6704 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000739/0.5202, allocations: 322.2 kB / 0.6707 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/0.5228, allocations: 0.5995 MB / 0.6713 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.5269, allocations: 2.307 MB / 0.6735 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009436/0.5278, allocations: 1.249 MB / 0.6748 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.5282, allocations: 111.3 kB / 0.6749 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of SimCode: time 6.62e-07/0.5282, allocations: 0 / 0.6749 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.04165/0.5698, allocations: 28.91 MB / 0.7031 GB, free: 15.18 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)