Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001108/0.001107, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001738/0.001738, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9463/0.9463, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.000335, allocations: 8.562 kB / 0.507 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1605, allocations: 82.29 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.3198/0.4803, allocations: 27.15 MB / 0.6139 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.4914, allocations: 9.233 MB / 0.6229 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.4927, allocations: 35.81 kB / 0.6229 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.4941, allocations: 466.4 kB / 0.6234 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00283/0.4969, allocations: 1.19 MB / 0.6245 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.4996, allocations: 1.048 MB / 0.6256 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004025/0.5036, allocations: 4.296 MB / 0.6297 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.505, allocations: 1.002 MB / 0.6307 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001942/0.507, allocations: 1.219 MB / 0.6319 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.5081, allocations: 0.991 MB / 0.6329 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.5082, allocations: 57.91 kB / 0.6329 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.51, allocations: 0.8638 MB / 0.6338 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.5103, allocations: 324 kB / 0.6341 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.5107, allocations: 311.8 kB / 0.6344 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.5123, allocations: 1.805 MB / 0.6362 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5123, allocations: 0 / 0.6362 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5123, allocations: 0 / 0.6362 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.305e-05/0.5123, allocations: 0 / 0.6362 GB, free: 28.93 MB / 0.4981 GB 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.002406/0.5147, allocations: 1.716 MB / 0.6378 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.5148, allocations: 12.91 kB / 0.6378 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008732/0.5157, allocations: 256.8 kB / 0.6381 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.5175, allocations: 1.28 MB / 0.6393 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.5176, allocations: 69.98 kB / 0.6394 GB, free: 27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.5177, allocations: 83.66 kB / 0.6395 GB, free: 26.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.5193, allocations: 1.025 MB / 0.6405 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.5193, allocations: 0 / 0.6405 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-05/0.5194, allocations: 33.31 kB / 0.6405 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.5194, allocations: 21.08 kB / 0.6405 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.5208, allocations: 0.7887 MB / 0.6413 GB, free: 26.21 MB / 0.4981 GB 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.004575/0.5254, allocations: 5.139 MB / 0.6463 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.5267, allocations: 0.6573 MB / 0.647 GB, free: 22.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006297/0.5273, allocations: 348.8 kB / 0.6473 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002026/0.5293, allocations: 1.687 MB / 0.6489 GB, free: 20.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007889/0.5301, allocations: 376.5 kB / 0.6493 GB, free: 20.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003411/0.5305, allocations: 100 kB / 0.6494 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.5305, allocations: 3.938 kB / 0.6494 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.003788/0.5343, allocations: 1.386 MB / 0.6508 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.5343, allocations: 58.11 kB / 0.6508 GB, free: 20.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.5362, allocations: 1.316 MB / 0.6521 GB, free: 19.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.5363, allocations: 39.7 kB / 0.6521 GB, free: 19.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/0.5368, allocations: 0.6448 MB / 0.6528 GB, free: 19.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.5369, allocations: 150.7 kB / 0.6529 GB, free: 18.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.537, allocations: 15.03 kB / 0.6529 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.537, allocations: 329.8 kB / 0.6532 GB, free: 18.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/0.5377, allocations: 273.3 kB / 0.6535 GB, free: 18.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008139/0.5385, allocations: 0.6201 MB / 0.6541 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.5393, allocations: 379.2 kB / 0.6545 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.5393, allocations: 3.25 kB / 0.6545 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002434/0.5417, allocations: 1.145 MB / 0.6556 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.5419, allocations: 352.4 kB / 0.6559 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.5419, allocations: 8.531 kB / 0.6559 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008043/0.5427, allocations: 232.9 kB / 0.6562 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.5433, allocations: 150.8 kB / 0.6563 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008445/0.5442, allocations: 0.8647 MB / 0.6571 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009559/0.5451, allocations: 99.61 kB / 0.6572 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/0.5452, allocations: 41.41 kB / 0.6573 GB, free: 16.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.5452, allocations: 12.11 kB / 0.6573 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001556/0.5468, allocations: 0.8629 MB / 0.6581 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.5468, allocations: 8.031 kB / 0.6581 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/0.5472, allocations: 153.2 kB / 0.6583 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.5476, allocations: 140.4 kB / 0.6584 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.5499, allocations: 2.327 MB / 0.6607 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000847/0.5508, allocations: 89.22 kB / 0.6608 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.5508, allocations: 37.39 kB / 0.6608 GB, free: 14.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (72): * Single equations (assignments): 69 * 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.0007464/0.5516, allocations: 483.3 kB / 0.6613 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.5517, allocations: 126.9 kB / 0.6614 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.5537, allocations: 0.9487 MB / 0.6623 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.5537, allocations: 10.88 kB / 0.6623 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.5537, allocations: 96 / 0.6623 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001467/0.5552, allocations: 0.9467 MB / 0.6633 GB, free: 12.74 MB / 0.4981 GB 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.003627/0.5589, allocations: 1.988 MB / 0.6652 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5589, allocations: 5.031 kB / 0.6652 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.5593, allocations: 88.59 kB / 0.6653 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003628/0.5597, allocations: 143.8 kB / 0.6654 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.5597, allocations: 12.23 kB / 0.6654 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006358/0.5604, allocations: 0.8261 MB / 0.6662 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5604, allocations: 5 kB / 0.6662 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.563, allocations: 1.307 MB / 0.6675 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007546/0.5638, allocations: 289.2 kB / 0.6678 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.5639, allocations: 12.88 kB / 0.6678 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007289/0.5647, allocations: 86.09 kB / 0.6679 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.5648, allocations: 36.61 kB / 0.6679 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.51e-05/0.5649, allocations: 21.84 kB / 0.6679 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001802/0.5667, allocations: 0.9103 MB / 0.6688 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.12e-07/0.5667, allocations: 0 / 0.6688 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003038/0.5697, allocations: 0.6797 MB / 0.6695 GB, free: 9.809 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 (39): * Single equations (assignments): 33 * 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.001095/0.5708, allocations: 358 kB / 0.6698 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003135/0.574, allocations: 1.427 MB / 0.6712 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.574, allocations: 1.281 kB / 0.6712 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000827/0.5748, allocations: 361.9 kB / 0.6716 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/0.5775, allocations: 0.5854 MB / 0.6722 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.5813, allocations: 2.728 MB / 0.6748 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008767/0.5822, allocations: 1.273 MB / 0.6761 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001231/0.5835, allocations: 308.9 kB / 0.6764 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.5837, allocations: 101.4 kB / 0.6765 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of SimCode: time 6.32e-07/0.5837, allocations: 4 kB / 0.6765 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of Templates: time 0.04094/0.6247, allocations: 25.15 MB / 0.701 GB, free: 7.133 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)