Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007856/0.007856, allocations: 103.2 kB / 15.73 MB, free: 6.496 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.001828/0.001828, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9354/0.9354, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.89 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4642, allocations: 80.92 MB / 0.6646 GB, free: 7.566 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.03293/0.4971, allocations: 32.73 MB / 0.6966 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.513, allocations: 10.47 MB / 0.7068 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.5151, allocations: 52.41 kB / 0.7069 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.5175, allocations: 0.7382 MB / 0.7076 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004742/0.5223, allocations: 1.608 MB / 0.7092 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003983/0.5263, allocations: 1.415 MB / 0.7105 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008577/0.5349, allocations: 4.886 MB / 0.7153 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005944/0.5409, allocations: 2.074 MB / 0.7173 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005653/0.5466, allocations: 1.945 MB / 0.7192 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002881/0.5495, allocations: 1.357 MB / 0.7206 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005907/0.5501, allocations: 140 kB / 0.7207 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003502/0.5536, allocations: 1.166 MB / 0.7218 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008696/0.5545, allocations: 474.2 kB / 0.7223 GB, free: 6.402 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002101/0.5566, allocations: 1.01 MB / 0.7233 GB, free: 5.387 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005656/0.5623, allocations: 2.942 MB / 0.7262 GB, free: 2.438 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5623, allocations: 3.938 kB / 0.7262 GB, free: 2.434 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5623, allocations: 0 / 0.7262 GB, free: 2.434 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.085e-05/0.5624, allocations: 0 / 0.7262 GB, free: 2.434 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.00512/0.5675, allocations: 2.388 MB / 0.7285 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5676, allocations: 8.031 kB / 0.7285 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.5689, allocations: 302.2 kB / 0.7288 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/0.5726, allocations: 1.683 MB / 0.7304 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.5727, allocations: 78 kB / 0.7305 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.5729, allocations: 104 kB / 0.7306 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.5752, allocations: 1.295 MB / 0.7319 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.5752, allocations: 0 / 0.7319 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.935e-05/0.5753, allocations: 40 kB / 0.7319 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.5753, allocations: 27.98 kB / 0.7319 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.5773, allocations: 0.9756 MB / 0.7329 GB, free: 11.34 MB / 0.5606 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.007581/0.5849, allocations: 6.502 MB / 0.7392 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.5861, allocations: 0.5801 MB / 0.7398 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/0.5868, allocations: 390.8 kB / 0.7402 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002647/0.5895, allocations: 1.689 MB / 0.7418 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006864/0.5902, allocations: 359.5 kB / 0.7422 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004211/0.5906, allocations: 83.31 kB / 0.7422 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.385e-06/0.5906, allocations: 0 / 0.7422 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003256/0.5939, allocations: 1.317 MB / 0.7435 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.5939, allocations: 55.41 kB / 0.7436 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.5965, allocations: 1.793 MB / 0.7453 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.939e-05/0.5965, allocations: 49.7 kB / 0.7454 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007432/0.5973, allocations: 0.85 MB / 0.7462 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.5975, allocations: 157.8 kB / 0.7464 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/0.5977, allocations: 186.4 kB / 0.7465 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5979, allocations: 338 kB / 0.7469 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/0.5986, allocations: 324.6 kB / 0.7472 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.5997, allocations: 0.7323 MB / 0.7479 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.6013, allocations: 0.9915 MB / 0.7489 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.6013, allocations: 4 kB / 0.7489 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00298/0.6043, allocations: 1.301 MB / 0.7501 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.6044, allocations: 37.7 kB / 0.7502 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.6044, allocations: 8 kB / 0.7502 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007344/0.6052, allocations: 196.1 kB / 0.7504 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.6058, allocations: 167.7 kB / 0.7505 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.6069, allocations: 0.7629 MB / 0.7513 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.608, allocations: 52.62 kB / 0.7513 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-05/0.6081, allocations: 48.05 kB / 0.7514 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001344/0.6094, allocations: 0.7126 MB / 0.7521 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009112/0.6104, allocations: 0.7089 MB / 0.7527 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001359/0.6117, allocations: 0.921 MB / 0.7536 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.44e-06/0.6117, allocations: 4 kB / 0.7536 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002367/0.6141, allocations: 1.277 MB / 0.7549 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.6142, allocations: 33.7 kB / 0.7549 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.6143, allocations: 12 kB / 0.7549 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.6145, allocations: 120.8 kB / 0.7551 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.6151, allocations: 163.7 kB / 0.7552 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.6178, allocations: 2.328 MB / 0.7575 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000848/0.6186, allocations: 52.58 kB / 0.7575 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/0.6187, allocations: 43.98 kB / 0.7576 GB, free: 428 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003792/0.6191, allocations: 249.3 kB / 0.7578 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.6194, allocations: 169.8 kB / 0.758 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.6217, allocations: 0.9939 MB / 0.7589 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.6217, allocations: 4 kB / 0.759 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.6217, allocations: 7.938 kB / 0.759 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001696/0.6234, allocations: 0.9428 MB / 0.7599 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004004/0.6274, allocations: 2.105 MB / 0.7619 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6274, allocations: 3.984 kB / 0.7619 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.6279, allocations: 79.88 kB / 0.762 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004031/0.6283, allocations: 124.8 kB / 0.7621 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.6284, allocations: 23.92 kB / 0.7622 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006446/0.629, allocations: 0.7393 MB / 0.7629 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.629, allocations: 0 / 0.7629 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/0.6318, allocations: 1.345 MB / 0.7642 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.6323, allocations: 298.8 kB / 0.7645 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.6326, allocations: 12 kB / 0.7645 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006596/0.6332, allocations: 27.97 kB / 0.7645 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.6334, allocations: 48.36 kB / 0.7646 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.506e-05/0.6335, allocations: 31.97 kB / 0.7646 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001969/0.6354, allocations: 1.239 MB / 0.7658 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6354, allocations: 0 / 0.7658 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00235/0.6378, allocations: 0.7798 MB / 0.7666 GB, free: 6.953 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/0.6389, allocations: 387.2 kB / 0.7669 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003154/0.642, allocations: 1.48 MB / 0.7684 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.642, allocations: 0 / 0.7684 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007204/0.6428, allocations: 331.7 kB / 0.7687 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/0.6461, allocations: 0.7696 MB / 0.7694 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005726/0.6519, allocations: 2.872 MB / 0.7723 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/0.6536, allocations: 1.499 MB / 0.7737 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001621/0.6552, allocations: 454 kB / 0.7741 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.6556, allocations: 127.4 kB / 0.7743 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of SimCode: time 1.433e-06/0.6556, allocations: 0 / 0.7743 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of Templates: time 0.05388/0.7095, allocations: 31.7 MB / 0.8052 GB, free: 15.68 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)