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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example3,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 97.8 kB / 15.36 MB, free: 0.7305 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.001415/0.001416, allocations: 173.2 kB / 16.27 MB, free: 6.664 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9626/0.9626, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 82.32 MB / 0.5881 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.3223/0.4676, allocations: 31.75 MB / 0.6191 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.479, allocations: 10.41 MB / 0.6292 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.4803, allocations: 41.06 kB / 0.6293 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.482, allocations: 0.6356 MB / 0.6299 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003358/0.4854, allocations: 1.449 MB / 0.6313 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.4882, allocations: 1.26 MB / 0.6326 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004895/0.4931, allocations: 6.431 MB / 0.6388 GB, free: 26.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.4951, allocations: 1.741 MB / 0.6405 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.4978, allocations: 1.619 MB / 0.6421 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.4992, allocations: 1.327 MB / 0.6434 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.4994, allocations: 66.38 kB / 0.6435 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.5014, allocations: 1.078 MB / 0.6445 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003202/0.5017, allocations: 377 kB / 0.6449 GB, free: 23.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007615/0.5025, allocations: 0.9415 MB / 0.6458 GB, free: 23.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.5049, allocations: 2.796 MB / 0.6485 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5049, allocations: 0.9062 kB / 0.6485 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5049, allocations: 0 / 0.6485 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.5049, allocations: 0 / 0.6485 GB, free: 22.17 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.003151/0.5081, allocations: 2.043 MB / 0.6505 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5081, allocations: 9.594 kB / 0.6505 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.5083, allocations: 148.9 kB / 0.6507 GB, free: 20.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.5094, allocations: 308.1 kB / 0.651 GB, free: 20.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.5124, allocations: 1.653 MB / 0.6526 GB, free: 19.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/0.5124, allocations: 83.3 kB / 0.6527 GB, free: 19.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.5126, allocations: 112.9 kB / 0.6528 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.515, allocations: 1.291 MB / 0.654 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.515, allocations: 0.8125 kB / 0.654 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.5152, allocations: 39.22 kB / 0.6541 GB, free: 19.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-05/0.5152, allocations: 27.88 kB / 0.6541 GB, free: 19.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.5173, allocations: 1.001 MB / 0.6551 GB, free: 18.68 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.009001/0.5263, allocations: 6.768 MB / 0.6617 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.5277, allocations: 0.6013 MB / 0.6623 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008475/0.5286, allocations: 399 kB / 0.6627 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002915/0.5315, allocations: 1.685 MB / 0.6643 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000746/0.5323, allocations: 373.6 kB / 0.6647 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006823/0.533, allocations: 107.5 kB / 0.6648 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 2.735e-06/0.533, allocations: 0 / 0.6648 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.003316/0.5363, allocations: 1.331 MB / 0.6661 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.5363, allocations: 56.72 kB / 0.6661 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.5386, allocations: 1.784 MB / 0.6679 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.731e-05/0.5387, allocations: 39.64 kB / 0.6679 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006532/0.5394, allocations: 0.8489 MB / 0.6687 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.5395, allocations: 166.8 kB / 0.6689 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.5396, allocations: 75.73 kB / 0.669 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.238e-05/0.5397, allocations: 335.9 kB / 0.6693 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/0.5404, allocations: 313.2 kB / 0.6696 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/0.5412, allocations: 0.7483 MB / 0.6703 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.5426, allocations: 0.9868 MB / 0.6713 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.5426, allocations: 2.812 kB / 0.6713 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002524/0.5451, allocations: 1.305 MB / 0.6725 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.5453, allocations: 423.5 kB / 0.673 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.5453, allocations: 9.688 kB / 0.673 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006471/0.546, allocations: 202.5 kB / 0.6732 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.5466, allocations: 167.7 kB / 0.6733 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005679/0.5472, allocations: 0.7639 MB / 0.6741 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.5484, allocations: 93.45 kB / 0.6741 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-05/0.5485, allocations: 43.19 kB / 0.6742 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.5485, allocations: 3.75 kB / 0.6742 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001754/0.5503, allocations: 1.091 MB / 0.6753 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.5503, allocations: 10.91 kB / 0.6753 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002178/0.5505, allocations: 116.9 kB / 0.6754 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.5511, allocations: 166.6 kB / 0.6755 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.5529, allocations: 2.126 MB / 0.6776 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.554, allocations: 87.28 kB / 0.6777 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.5541, allocations: 47.8 kB / 0.6777 GB, free: 3.781 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.0009423/0.5551, allocations: 0.5925 MB / 0.6783 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.5553, allocations: 176.2 kB / 0.6785 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.5573, allocations: 0.9884 MB / 0.6795 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.5573, allocations: 6.094 kB / 0.6795 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.5573, allocations: 0 / 0.6795 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001395/0.5587, allocations: 0.9566 MB / 0.6804 GB, free: 2.367 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.003654/0.5624, allocations: 2.174 MB / 0.6825 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5624, allocations: 1.156 kB / 0.6825 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.5628, allocations: 85.19 kB / 0.6826 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002716/0.5631, allocations: 126.5 kB / 0.6827 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.5632, allocations: 21.03 kB / 0.6827 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004512/0.5636, allocations: 0.7358 MB / 0.6835 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5636, allocations: 5.234 kB / 0.6835 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.5662, allocations: 1.361 MB / 0.6848 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/0.5668, allocations: 321.3 kB / 0.6851 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.567, allocations: 13.59 kB / 0.6851 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007284/0.5677, allocations: 77.83 kB / 0.6852 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.5678, allocations: 45.19 kB / 0.6852 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.5679, allocations: 22.48 kB / 0.6853 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001771/0.5697, allocations: 1.229 MB / 0.6865 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3e-07/0.5697, allocations: 1.25 kB / 0.6865 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002367/0.572, allocations: 0.7846 MB / 0.6872 GB, free: 15.16 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.003324/0.5754, allocations: 2.138 MB / 0.6893 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002769/0.5781, allocations: 1.47 MB / 0.6907 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5782, allocations: 1.156 kB / 0.6907 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006751/0.5788, allocations: 336.8 kB / 0.6911 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/0.5823, allocations: 0.7379 MB / 0.6918 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02299/0.6053, allocations: 13.97 MB / 0.7054 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.6064, allocations: 1.491 MB / 0.7069 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001643/0.608, allocations: 438.2 kB / 0.7073 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007748/0.6088, allocations: 0.6516 MB / 0.7079 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/0.6088, allocations: 0 / 0.7079 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7445/1.353, allocations: 44.01 MB / 0.7509 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003351/1.354, allocations: 262 kB / 0.7512 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.301/4.655, allocations: 0 / 0.7512 GB, free: 2.996 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example3.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)