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.001098/0.001098, 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.001236/0.001236, allocations: 199 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9294/0.9294, allocations: 135.1 MB / 425.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 72.64 kB / 0.5053 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1796, allocations: 80.93 MB / 0.5843 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.3448/0.5245, allocations: 29.44 MB / 0.6131 GB, free: 35.94 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.5366, allocations: 9.996 MB / 0.6229 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.5389, allocations: 40.16 kB / 0.6229 GB, free: 33 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.5409, allocations: 0.5981 MB / 0.6235 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.5449, allocations: 1.342 MB / 0.6248 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.548, allocations: 1.231 MB / 0.626 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004608/0.5526, allocations: 5.019 MB / 0.6309 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.5542, allocations: 1.14 MB / 0.632 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.5565, allocations: 1.304 MB / 0.6333 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.5577, allocations: 1.046 MB / 0.6343 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.5579, allocations: 63.66 kB / 0.6344 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.5602, allocations: 1.073 MB / 0.6354 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.5606, allocations: 340.6 kB / 0.6357 GB, free: 27.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007498/0.5613, allocations: 0.7163 MB / 0.6364 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.5633, allocations: 1.836 MB / 0.6382 GB, free: 26.51 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.5633, allocations: 3.188 kB / 0.6382 GB, free: 26.51 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5633, allocations: 0 / 0.6382 GB, free: 26.51 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.5633, allocations: 0 / 0.6382 GB, free: 26.51 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.003071/0.5664, allocations: 1.94 MB / 0.6401 GB, free: 25.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.5665, allocations: 10.78 kB / 0.6401 GB, free: 25.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.5676, allocations: 254.1 kB / 0.6404 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.5696, allocations: 1.331 MB / 0.6417 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.5697, allocations: 63.75 kB / 0.6417 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.5698, allocations: 83.69 kB / 0.6418 GB, free: 24.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.5713, allocations: 0.9831 MB / 0.6428 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.5713, allocations: 0 / 0.6428 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.5714, allocations: 33.25 kB / 0.6428 GB, free: 23.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.5714, allocations: 18.88 kB / 0.6428 GB, free: 23.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.5727, allocations: 0.7167 MB / 0.6435 GB, free: 23.59 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.005089/0.5778, allocations: 4.943 MB / 0.6484 GB, free: 19.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.5791, allocations: 0.5636 MB / 0.6489 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006347/0.5798, allocations: 313.5 kB / 0.6492 GB, free: 19.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002138/0.5819, allocations: 1.576 MB / 0.6507 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007661/0.5827, allocations: 328.8 kB / 0.6511 GB, free: 18.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004892/0.5832, allocations: 100.6 kB / 0.6512 GB, free: 18.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.615e-06/0.5832, allocations: 4 kB / 0.6512 GB, free: 18.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.003326/0.5865, allocations: 1.148 MB / 0.6523 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.5866, allocations: 61.16 kB / 0.6523 GB, free: 17.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.5883, allocations: 1.265 MB / 0.6536 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-05/0.5884, allocations: 40.56 kB / 0.6536 GB, free: 17.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/0.5889, allocations: 0.6542 MB / 0.6542 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.5891, allocations: 144 kB / 0.6544 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.5893, allocations: 166.3 kB / 0.6545 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.5894, allocations: 333.3 kB / 0.6549 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000614/0.59, allocations: 271.6 kB / 0.6551 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007645/0.5908, allocations: 0.594 MB / 0.6557 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.592, allocations: 0.796 MB / 0.6565 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.5921, allocations: 2.312 kB / 0.6565 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002427/0.5945, allocations: 1.084 MB / 0.6575 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.5945, allocations: 40.48 kB / 0.6576 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.5946, allocations: 8 kB / 0.6576 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006796/0.5953, allocations: 192.1 kB / 0.6578 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.5958, allocations: 142.1 kB / 0.6579 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000682/0.5965, allocations: 0.7698 MB / 0.6587 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.5976, allocations: 72.34 kB / 0.6587 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-05/0.5977, allocations: 41.88 kB / 0.6588 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001045/0.5988, allocations: 0.5483 MB / 0.6593 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000625/0.5994, allocations: 0.5509 MB / 0.6598 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001027/0.6005, allocations: 0.7469 MB / 0.6606 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/0.6005, allocations: 2.438 kB / 0.6606 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.002013/0.6025, allocations: 1.051 MB / 0.6616 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.6026, allocations: 40.77 kB / 0.6616 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6026, allocations: 11.59 kB / 0.6616 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/0.6028, allocations: 107.2 kB / 0.6617 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.6033, allocations: 131.5 kB / 0.6619 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.6052, allocations: 2.15 MB / 0.664 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.6063, allocations: 72.94 kB / 0.664 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.6064, allocations: 43.03 kB / 0.6641 GB, free: 10.09 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 (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.0003056/0.6067, allocations: 236.9 kB / 0.6643 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.6069, allocations: 131.1 kB / 0.6644 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.6089, allocations: 0.8631 MB / 0.6653 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.6089, allocations: 6.859 kB / 0.6653 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6089, allocations: 1.125 kB / 0.6653 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/0.6102, allocations: 0.8612 MB / 0.6661 GB, free: 8.895 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.003621/0.6139, allocations: 1.84 MB / 0.6679 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.6139, allocations: 1.656 kB / 0.6679 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.6143, allocations: 82.08 kB / 0.668 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/0.6147, allocations: 121.6 kB / 0.6681 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.6147, allocations: 16.73 kB / 0.6681 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005794/0.6153, allocations: 0.7535 MB / 0.6689 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6153, allocations: 9.5 kB / 0.6689 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.6176, allocations: 1.161 MB / 0.67 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/0.6181, allocations: 254.3 kB / 0.6703 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.6182, allocations: 9.141 kB / 0.6703 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/0.6189, allocations: 72.31 kB / 0.6703 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.619, allocations: 35.77 kB / 0.6704 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/0.6191, allocations: 20.98 kB / 0.6704 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001593/0.6207, allocations: 0.8755 MB / 0.6712 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6207, allocations: 0 / 0.6712 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002429/0.6231, allocations: 0.6429 MB / 0.6719 GB, free: 6.086 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 (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.0009371/0.6241, allocations: 370 kB / 0.6722 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002991/0.6271, allocations: 1.3 MB / 0.6735 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6271, allocations: 5.062 kB / 0.6735 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007928/0.6279, allocations: 316.2 kB / 0.6738 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/0.6306, allocations: 0.5707 MB / 0.6744 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.6348, allocations: 2.74 MB / 0.677 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/0.6357, allocations: 1.259 MB / 0.6783 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.6361, allocations: 99.47 kB / 0.6784 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/0.6361, allocations: 0 / 0.6784 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of Templates: time 0.0449/0.681, allocations: 28.65 MB / 0.7063 GB, free: 15.21 MB / 0.5294 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)