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.001089/0.001089, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.008049/0.008049, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9576/0.9576, allocations: 135.3 MB / 426.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 8.781 kB / 0.5076 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1499, allocations: 82.31 MB / 0.588 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.2863/0.4363, allocations: 31.75 MB / 0.619 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.4499, allocations: 10.41 MB / 0.6291 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.4517, allocations: 45.75 kB / 0.6292 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.4543, allocations: 0.6459 MB / 0.6298 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004934/0.4592, allocations: 1.441 MB / 0.6312 GB, free: 28.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.4625, allocations: 1.261 MB / 0.6324 GB, free: 28.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006751/0.4693, allocations: 6.427 MB / 0.6387 GB, free: 25.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.4718, allocations: 1.743 MB / 0.6404 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.4753, allocations: 1.614 MB / 0.642 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.4773, allocations: 1.335 MB / 0.6433 GB, free: 23.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/0.4775, allocations: 65.62 kB / 0.6434 GB, free: 23.81 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.4798, allocations: 1.076 MB / 0.6444 GB, free: 23.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.4802, allocations: 379.1 kB / 0.6448 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.4815, allocations: 0.9401 MB / 0.6457 GB, free: 22.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005122/0.4866, allocations: 2.79 MB / 0.6484 GB, free: 21.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4867, allocations: 0 / 0.6484 GB, free: 21.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4867, allocations: 0 / 0.6484 GB, free: 21.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.879e-05/0.4868, allocations: 0 / 0.6484 GB, free: 21.9 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.003896/0.4907, allocations: 2.044 MB / 0.6504 GB, free: 20.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4907, allocations: 9.625 kB / 0.6504 GB, free: 20.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.4919, allocations: 311.1 kB / 0.6507 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.4947, allocations: 1.651 MB / 0.6523 GB, free: 19.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.4949, allocations: 87.05 kB / 0.6524 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.4951, allocations: 108.1 kB / 0.6525 GB, free: 19.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.4977, allocations: 1.292 MB / 0.6538 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.4978, allocations: 5.906 kB / 0.6538 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.4979, allocations: 40.22 kB / 0.6538 GB, free: 18.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/0.4979, allocations: 22.41 kB / 0.6539 GB, free: 18.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/0.5004, allocations: 0.9982 MB / 0.6548 GB, free: 18.51 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.009369/0.5098, allocations: 6.768 MB / 0.6614 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.5111, allocations: 0.608 MB / 0.662 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.5119, allocations: 397.5 kB / 0.6624 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003102/0.515, allocations: 1.69 MB / 0.6641 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000786/0.5158, allocations: 372.5 kB / 0.6644 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007713/0.5166, allocations: 108.2 kB / 0.6645 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 3.206e-06/0.5166, allocations: 0 / 0.6645 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.003681/0.5203, allocations: 1.327 MB / 0.6658 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.5203, allocations: 56.91 kB / 0.6659 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/0.5231, allocations: 1.785 MB / 0.6676 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-05/0.5232, allocations: 39.81 kB / 0.6676 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007107/0.5239, allocations: 0.8492 MB / 0.6685 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.5241, allocations: 166.5 kB / 0.6686 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.5242, allocations: 80.05 kB / 0.6687 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.5243, allocations: 336.4 kB / 0.669 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007047/0.525, allocations: 312.8 kB / 0.6693 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008775/0.5259, allocations: 0.7433 MB / 0.6701 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.5274, allocations: 0.9883 MB / 0.671 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.5274, allocations: 2.625 kB / 0.671 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002989/0.5304, allocations: 1.309 MB / 0.6723 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002206/0.5306, allocations: 422.5 kB / 0.6727 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.5306, allocations: 12.06 kB / 0.6727 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/0.5314, allocations: 192.3 kB / 0.6729 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.5321, allocations: 172.6 kB / 0.6731 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006543/0.5327, allocations: 0.7602 MB / 0.6738 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.5344, allocations: 93.67 kB / 0.6739 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.5345, allocations: 54.41 kB / 0.6739 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.5345, allocations: 6.25 kB / 0.674 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00209/0.5366, allocations: 1.088 MB / 0.675 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/0.5367, allocations: 10.16 kB / 0.675 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.5369, allocations: 122 kB / 0.6751 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.5376, allocations: 165.5 kB / 0.6753 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.5397, allocations: 2.122 MB / 0.6774 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.5411, allocations: 87.84 kB / 0.6775 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.5413, allocations: 44.5 kB / 0.6775 GB, free: 3.609 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.001137/0.5424, allocations: 0.5816 MB / 0.6781 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005063/0.5429, allocations: 179 kB / 0.6782 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.5453, allocations: 0.9929 MB / 0.6792 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.5454, allocations: 5.641 kB / 0.6792 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5454, allocations: 2.047 kB / 0.6792 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001547/0.5469, allocations: 0.9508 MB / 0.6801 GB, free: 2.199 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.005178/0.5521, allocations: 2.177 MB / 0.6823 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.5522, allocations: 0 / 0.6823 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.5526, allocations: 86.59 kB / 0.6824 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003117/0.5529, allocations: 128.1 kB / 0.6825 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.553, allocations: 12.94 kB / 0.6825 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005001/0.5535, allocations: 0.7437 MB / 0.6832 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5535, allocations: 1.312 kB / 0.6832 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.5563, allocations: 1.369 MB / 0.6846 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009572/0.5572, allocations: 320.8 kB / 0.6849 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005092/0.5578, allocations: 12.34 kB / 0.6849 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.5589, allocations: 74.88 kB / 0.6849 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.5591, allocations: 40.36 kB / 0.685 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/0.5591, allocations: 22.77 kB / 0.685 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002916/0.5621, allocations: 1.228 MB / 0.6862 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5621, allocations: 0 / 0.6862 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004012/0.5661, allocations: 0.7907 MB / 0.687 GB, free: 14.98 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.00128/0.5674, allocations: 381 kB / 0.6873 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003508/0.5709, allocations: 1.474 MB / 0.6888 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.5709, allocations: 1.062 kB / 0.6888 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00082/0.5718, allocations: 340.7 kB / 0.6891 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004779/0.5766, allocations: 0.739 MB / 0.6898 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007495/0.5841, allocations: 3.512 MB / 0.6933 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/0.586, allocations: 1.497 MB / 0.6947 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002809/0.5888, allocations: 436.5 kB / 0.6951 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005756/0.5894, allocations: 123.1 kB / 0.6952 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/0.5894, allocations: 0 / 0.6952 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.0579/0.6473, allocations: 30.2 MB / 0.7247 GB, free: 14.74 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)