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.001185/0.001185, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 198.9 kB / 16.79 MB, free: 6.809 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.345/1.345, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9449/0.9449, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.84 kB / 0.5053 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1792, allocations: 80.92 MB / 0.5843 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.3502/0.5295, allocations: 32.55 MB / 0.6161 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.5432, allocations: 10.55 MB / 0.6264 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.5453, allocations: 52.66 kB / 0.6265 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.5476, allocations: 0.6356 MB / 0.6271 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004276/0.5519, allocations: 1.457 MB / 0.6285 GB, free: 29.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.5553, allocations: 1.251 MB / 0.6297 GB, free: 28.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006074/0.5613, allocations: 6.434 MB / 0.636 GB, free: 26.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.5637, allocations: 1.778 MB / 0.6378 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004412/0.5681, allocations: 1.66 MB / 0.6394 GB, free: 24.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/0.5704, allocations: 1.384 MB / 0.6407 GB, free: 24.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.5707, allocations: 88.44 kB / 0.6408 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.5731, allocations: 1.091 MB / 0.6419 GB, free: 23.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000406/0.5735, allocations: 412.5 kB / 0.6423 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.5747, allocations: 0.941 MB / 0.6432 GB, free: 23.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.577, allocations: 2.192 MB / 0.6453 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.577, allocations: 2.719 kB / 0.6453 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5771, allocations: 0 / 0.6453 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.376e-05/0.5771, allocations: 0 / 0.6453 GB, free: 22.34 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004609/0.5817, allocations: 2.385 MB / 0.6477 GB, free: 20.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5818, allocations: 13.75 kB / 0.6477 GB, free: 20.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.5831, allocations: 300.2 kB / 0.648 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/0.5864, allocations: 1.657 MB / 0.6496 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.5865, allocations: 78.09 kB / 0.6497 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.5867, allocations: 107.7 kB / 0.6498 GB, free: 19.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.5891, allocations: 1.287 MB / 0.651 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.5892, allocations: 6 kB / 0.651 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.756e-05/0.5893, allocations: 42.66 kB / 0.6511 GB, free: 19.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/0.5893, allocations: 23.75 kB / 0.6511 GB, free: 19.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.5914, allocations: 0.9878 MB / 0.652 GB, free: 18.75 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.008169/0.5996, allocations: 6.735 MB / 0.6586 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.601, allocations: 0.5945 MB / 0.6592 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007129/0.6017, allocations: 388.9 kB / 0.6596 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003382/0.6051, allocations: 1.682 MB / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008317/0.606, allocations: 363 kB / 0.6616 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008632/0.6068, allocations: 104.8 kB / 0.6617 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 2.936e-06/0.6068, allocations: 0 / 0.6617 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.003733/0.6106, allocations: 1.304 MB / 0.6629 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.6106, allocations: 61.5 kB / 0.663 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/0.6136, allocations: 1.789 MB / 0.6647 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.884e-05/0.6137, allocations: 39.91 kB / 0.6648 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007171/0.6144, allocations: 0.8522 MB / 0.6656 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.6146, allocations: 166.8 kB / 0.6658 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.6149, allocations: 181.3 kB / 0.6659 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.615, allocations: 339.5 kB / 0.6663 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/0.6157, allocations: 320.1 kB / 0.6666 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009039/0.6166, allocations: 0.743 MB / 0.6673 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.618, allocations: 0.9724 MB / 0.6683 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.618, allocations: 7.969 kB / 0.6683 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002811/0.6208, allocations: 1.297 MB / 0.6695 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.298e-05/0.6209, allocations: 37.22 kB / 0.6696 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.6209, allocations: 10.42 kB / 0.6696 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007237/0.6217, allocations: 190.9 kB / 0.6698 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.6223, allocations: 164.7 kB / 0.6699 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006542/0.623, allocations: 0.7561 MB / 0.6706 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.6244, allocations: 95.06 kB / 0.6707 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.6245, allocations: 42.8 kB / 0.6708 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001322/0.6258, allocations: 0.7131 MB / 0.6715 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007931/0.6266, allocations: 0.6973 MB / 0.6722 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001243/0.6279, allocations: 0.9201 MB / 0.6731 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.126e-06/0.6279, allocations: 7.375 kB / 0.6731 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.002516/0.6304, allocations: 1.26 MB / 0.6743 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.6305, allocations: 37.17 kB / 0.6743 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.6305, allocations: 14.72 kB / 0.6743 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/0.6308, allocations: 121 kB / 0.6745 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.6313, allocations: 164 kB / 0.6746 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.6334, allocations: 2.124 MB / 0.6767 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.6349, allocations: 84.36 kB / 0.6768 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.635, allocations: 40.09 kB / 0.6768 GB, free: 2.547 MB / 0.4981 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 (85): * Single equations (assignments): 82 * 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.000334/0.6354, allocations: 245.1 kB / 0.677 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/0.6356, allocations: 175 kB / 0.6772 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.6378, allocations: 0.9873 MB / 0.6782 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.6379, allocations: 5.828 kB / 0.6782 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.6379, allocations: 4.906 kB / 0.6782 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001402/0.6393, allocations: 0.9379 MB / 0.6791 GB, free: 1.246 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.004243/0.6435, allocations: 2.151 MB / 0.6812 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.6436, allocations: 1.312 kB / 0.6812 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.644, allocations: 86.23 kB / 0.6813 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003105/0.6443, allocations: 137.3 kB / 0.6814 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.6444, allocations: 15.7 kB / 0.6814 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006929/0.6451, allocations: 0.7339 MB / 0.6821 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6451, allocations: 0 / 0.6821 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.648, allocations: 1.35 MB / 0.6835 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009594/0.649, allocations: 298.9 kB / 0.6837 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.6492, allocations: 11.41 kB / 0.6838 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007748/0.65, allocations: 71.61 kB / 0.6838 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6501, allocations: 49.28 kB / 0.6839 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/0.6502, allocations: 22.16 kB / 0.6839 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002119/0.6523, allocations: 1.233 MB / 0.6851 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6523, allocations: 1.219 kB / 0.6851 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002798/0.6551, allocations: 0.7889 MB / 0.6859 GB, free: 14.05 MB / 0.5137 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 (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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/0.6562, allocations: 373.8 kB / 0.6862 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003022/0.6592, allocations: 1.459 MB / 0.6877 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6592, allocations: 3.938 kB / 0.6877 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007194/0.66, allocations: 332.2 kB / 0.688 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/0.6635, allocations: 0.7402 MB / 0.6887 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.6688, allocations: 3.495 MB / 0.6921 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.67, allocations: 1.486 MB / 0.6936 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/0.6704, allocations: 133.3 kB / 0.6937 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of SimCode: time 1.332e-06/0.6704, allocations: 0 / 0.6937 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of Templates: time 0.05228/0.7227, allocations: 37 MB / 0.7298 GB, free: 6.734 MB / 0.545 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)