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.001377/0.001377, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001701/0.001701, allocations: 196 kB / 16.26 MB, free: 6.625 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9597/0.9597, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 60.97 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1525, allocations: 80.93 MB / 0.5839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.3931/0.5456, allocations: 29.37 MB / 0.6126 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.5582, allocations: 9.841 MB / 0.6222 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.5604, allocations: 40.81 kB / 0.6222 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.5628, allocations: 0.6162 MB / 0.6228 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00426/0.5671, allocations: 1.347 MB / 0.6241 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.5705, allocations: 1.275 MB / 0.6254 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004216/0.5747, allocations: 3.846 MB / 0.6291 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.5766, allocations: 1.359 MB / 0.6305 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.5799, allocations: 1.521 MB / 0.6319 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.5815, allocations: 1.093 MB / 0.633 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.5819, allocations: 117 kB / 0.6331 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.5843, allocations: 1.13 MB / 0.6342 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005511/0.5849, allocations: 403.8 kB / 0.6346 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.5862, allocations: 0.7903 MB / 0.6354 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.5903, allocations: 2.437 MB / 0.6378 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.5904, allocations: 0 / 0.6378 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5904, allocations: 0 / 0.6378 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001074/0.5905, allocations: 0 / 0.6378 GB, free: 25.57 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.005248/0.5957, allocations: 1.951 MB / 0.6397 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.5958, allocations: 10.5 kB / 0.6397 GB, free: 24.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.5971, allocations: 245.1 kB / 0.6399 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.5998, allocations: 1.332 MB / 0.6412 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-05/0.5999, allocations: 63.91 kB / 0.6413 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.6001, allocations: 82.94 kB / 0.6413 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.6018, allocations: 0.9812 MB / 0.6423 GB, free: 22.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.6019, allocations: 2.75 kB / 0.6423 GB, free: 22.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.602, allocations: 32.16 kB / 0.6423 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.602, allocations: 19.66 kB / 0.6424 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.6034, allocations: 0.7156 MB / 0.6431 GB, free: 22.65 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.005776/0.6092, allocations: 4.938 MB / 0.6479 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.6105, allocations: 0.5743 MB / 0.6484 GB, free: 18.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.6111, allocations: 313.6 kB / 0.6487 GB, free: 18.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/0.6134, allocations: 1.572 MB / 0.6503 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000708/0.6141, allocations: 330.8 kB / 0.6506 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005387/0.6146, allocations: 82.05 kB / 0.6507 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 4.679e-06/0.6147, allocations: 4 kB / 0.6507 GB, free: 17.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.003344/0.618, allocations: 1.16 MB / 0.6518 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.6181, allocations: 64.66 kB / 0.6519 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.6203, allocations: 1.264 MB / 0.6531 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/0.6203, allocations: 40.11 kB / 0.6531 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/0.6209, allocations: 0.6547 MB / 0.6538 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.621, allocations: 147.1 kB / 0.6539 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.6213, allocations: 164.4 kB / 0.6541 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.6214, allocations: 333.1 kB / 0.6544 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006613/0.6221, allocations: 276.3 kB / 0.6547 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000846/0.6229, allocations: 0.5901 MB / 0.6552 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.6244, allocations: 0.8078 MB / 0.656 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.6244, allocations: 2.125 kB / 0.656 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002719/0.6271, allocations: 1.096 MB / 0.6571 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/0.6272, allocations: 39.36 kB / 0.6571 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.6272, allocations: 8.062 kB / 0.6571 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007158/0.6279, allocations: 187.2 kB / 0.6573 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.6285, allocations: 139.1 kB / 0.6575 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007099/0.6293, allocations: 0.7767 MB / 0.6582 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.6303, allocations: 75.5 kB / 0.6583 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.492e-05/0.6304, allocations: 42.73 kB / 0.6583 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001067/0.6315, allocations: 0.5522 MB / 0.6589 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006394/0.6322, allocations: 0.5625 MB / 0.6594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001083/0.6332, allocations: 0.7464 MB / 0.6601 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.444e-06/0.6333, allocations: 2.406 kB / 0.6601 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.002036/0.6353, allocations: 1.065 MB / 0.6612 GB, free: 11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.6354, allocations: 37.81 kB / 0.6612 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.6354, allocations: 8.656 kB / 0.6612 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002569/0.6357, allocations: 109.1 kB / 0.6613 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.6362, allocations: 132.6 kB / 0.6615 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.6384, allocations: 2.404 MB / 0.6638 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.6394, allocations: 76.81 kB / 0.6639 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/0.6395, allocations: 38.5 kB / 0.6639 GB, free: 8.922 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 (72): * Single equations (assignments): 69 * 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.0003029/0.6398, allocations: 233 kB / 0.6641 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/0.6402, allocations: 127.3 kB / 0.6643 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.6428, allocations: 0.8827 MB / 0.6651 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.6428, allocations: 7.406 kB / 0.6651 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6428, allocations: 0 / 0.6651 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/0.6443, allocations: 0.8761 MB / 0.666 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/0.6481, allocations: 1.796 MB / 0.6677 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.6481, allocations: 2.188 kB / 0.6677 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.6486, allocations: 79.31 kB / 0.6678 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003279/0.6489, allocations: 123.9 kB / 0.6679 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/0.649, allocations: 12.45 kB / 0.6679 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005978/0.6496, allocations: 0.7503 MB / 0.6687 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6496, allocations: 1.719 kB / 0.6687 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.6521, allocations: 1.181 MB / 0.6698 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008198/0.653, allocations: 255 kB / 0.6701 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/0.6533, allocations: 12.7 kB / 0.6701 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009448/0.6543, allocations: 60.31 kB / 0.6701 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.6544, allocations: 36.05 kB / 0.6702 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.524e-05/0.6545, allocations: 22.2 kB / 0.6702 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00171/0.6562, allocations: 0.8789 MB / 0.6711 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6562, allocations: 0 / 0.6711 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002823/0.659, allocations: 0.6438 MB / 0.6717 GB, free: 4.961 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 (40): * Single equations (assignments): 34 * 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.0009802/0.66, allocations: 365.4 kB / 0.672 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00304/0.6631, allocations: 1.386 MB / 0.6734 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.6631, allocations: 1.125 kB / 0.6734 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007753/0.6639, allocations: 330.8 kB / 0.6737 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.6666, allocations: 0.6037 MB / 0.6743 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.6707, allocations: 2.709 MB / 0.6769 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009376/0.6716, allocations: 1.27 MB / 0.6782 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001398/0.673, allocations: 309.9 kB / 0.6785 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.6733, allocations: 100.8 kB / 0.6786 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.6733, allocations: 4 kB / 0.6786 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of Templates: time 0.04736/0.7207, allocations: 25.43 MB / 0.7034 GB, free: 1.648 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)