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.001307/0.001308, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001118/0.001118, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7983/0.7983, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 0.5067 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3225, allocations: 80.91 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.02361/0.3462, allocations: 32.74 MB / 0.6177 GB, free: 9.723 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.3602, allocations: 10.47 MB / 0.628 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.362, allocations: 55.69 kB / 0.628 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.3639, allocations: 0.7281 MB / 0.6287 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003975/0.3679, allocations: 1.574 MB / 0.6303 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.3711, allocations: 1.411 MB / 0.6316 GB, free: 11.47 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005457/0.3766, allocations: 4.876 MB / 0.6364 GB, free: 6.578 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002674/0.3793, allocations: 2.074 MB / 0.6384 GB, free: 4.477 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004272/0.3836, allocations: 1.894 MB / 0.6403 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.3858, allocations: 1.353 MB / 0.6416 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002708/0.3861, allocations: 140 kB / 0.6417 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.3886, allocations: 1.182 MB / 0.6429 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004784/0.389, allocations: 470.3 kB / 0.6433 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.3902, allocations: 1.007 MB / 0.6443 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003636/0.3938, allocations: 2.94 MB / 0.6472 GB, free: 11.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3939, allocations: 0 / 0.6472 GB, free: 11.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3939, allocations: 0 / 0.6472 GB, free: 11.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.544e-05/0.3939, allocations: 0 / 0.6472 GB, free: 11.48 MB / 494.1 MB 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.00379/0.3977, allocations: 2.372 MB / 0.6495 GB, free: 9.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3978, allocations: 17.09 kB / 0.6495 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.3988, allocations: 306.1 kB / 0.6498 GB, free: 8.723 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002954/0.4018, allocations: 1.691 MB / 0.6515 GB, free: 6.984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/0.4018, allocations: 78 kB / 0.6515 GB, free: 6.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.402, allocations: 112 kB / 0.6516 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.4039, allocations: 1.286 MB / 0.6529 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.4039, allocations: 7.938 kB / 0.6529 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.094e-05/0.404, allocations: 36 kB / 0.6529 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.4041, allocations: 24 kB / 0.653 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.4059, allocations: 0.9834 MB / 0.6539 GB, free: 4.383 MB / 494.1 MB 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.007491/0.4134, allocations: 6.498 MB / 0.6603 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.4145, allocations: 0.582 MB / 0.6608 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/0.4151, allocations: 395 kB / 0.6612 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002522/0.4177, allocations: 1.684 MB / 0.6629 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007025/0.4184, allocations: 355.5 kB / 0.6632 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003139/0.4187, allocations: 83.28 kB / 0.6633 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.274e-06/0.4187, allocations: 0 / 0.6633 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003037/0.4218, allocations: 1.316 MB / 0.6646 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.4218, allocations: 63.34 kB / 0.6646 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.4239, allocations: 1.8 MB / 0.6664 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.4239, allocations: 37.7 kB / 0.6664 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007572/0.4247, allocations: 0.85 MB / 0.6673 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.4248, allocations: 157.8 kB / 0.6674 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.4251, allocations: 186.4 kB / 0.6676 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.4253, allocations: 341.9 kB / 0.6679 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.4259, allocations: 320.6 kB / 0.6682 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/0.4268, allocations: 0.7362 MB / 0.6689 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.4282, allocations: 0.9954 MB / 0.6699 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4282, allocations: 0 / 0.6699 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002438/0.4307, allocations: 1.301 MB / 0.6712 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/0.4307, allocations: 33.7 kB / 0.6712 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.4308, allocations: 12 kB / 0.6712 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.4314, allocations: 191.2 kB / 0.6714 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.432, allocations: 167.7 kB / 0.6716 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006454/0.4326, allocations: 0.763 MB / 0.6723 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/0.4335, allocations: 56.62 kB / 0.6724 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.4336, allocations: 47.98 kB / 0.6724 GB, free: 364 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001033/0.4346, allocations: 0.7056 MB / 0.6731 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008097/0.4355, allocations: 0.705 MB / 0.6738 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001213/0.4367, allocations: 0.9288 MB / 0.6747 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.26e-06/0.4367, allocations: 4 kB / 0.6747 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.001933/0.4386, allocations: 1.261 MB / 0.6759 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.4387, allocations: 45.62 kB / 0.676 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4387, allocations: 8 kB / 0.676 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.4389, allocations: 121.3 kB / 0.6761 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.4394, allocations: 167.7 kB / 0.6763 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.4416, allocations: 2.317 MB / 0.6785 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/0.4424, allocations: 64.47 kB / 0.6786 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/0.4425, allocations: 52.05 kB / 0.6786 GB, free: 9.457 MB / 0.5137 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 (84): * Single equations (assignments): 81 * 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.0002571/0.4428, allocations: 237.6 kB / 0.6789 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.443, allocations: 173.8 kB / 0.679 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.445, allocations: 0.9977 MB / 0.68 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.445, allocations: 4 kB / 0.68 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.445, allocations: 0 / 0.68 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/0.4464, allocations: 0.9467 MB / 0.6809 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.4498, allocations: 2.097 MB / 0.683 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4498, allocations: 0 / 0.683 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.4502, allocations: 91.92 kB / 0.6831 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/0.4505, allocations: 132.3 kB / 0.6832 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.4506, allocations: 15.98 kB / 0.6832 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006368/0.4512, allocations: 0.7396 MB / 0.6839 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4512, allocations: 4.031 kB / 0.6839 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.4535, allocations: 1.345 MB / 0.6852 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/0.454, allocations: 302.8 kB / 0.6855 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.4542, allocations: 8 kB / 0.6855 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.4548, allocations: 32.03 kB / 0.6856 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.4549, allocations: 48.25 kB / 0.6856 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.4549, allocations: 19.98 kB / 0.6856 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001493/0.4564, allocations: 1.247 MB / 0.6868 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4564, allocations: 0 / 0.6868 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001944/0.4584, allocations: 0.7838 MB / 0.6876 GB, free: 15.97 MB / 0.5294 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 (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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007899/0.4592, allocations: 374.7 kB / 0.688 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002422/0.4616, allocations: 1.469 MB / 0.6894 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4616, allocations: 1.312 kB / 0.6894 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.4623, allocations: 342.4 kB / 0.6897 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.4647, allocations: 0.7733 MB / 0.6905 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.4686, allocations: 2.882 MB / 0.6933 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009801/0.4696, allocations: 1.499 MB / 0.6948 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001155/0.4707, allocations: 449.9 kB / 0.6952 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.471, allocations: 127.4 kB / 0.6953 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.471, allocations: 0 / 0.6953 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of Templates: time 0.04789/0.5189, allocations: 31.52 MB / 0.7261 GB, free: 8.883 MB / 0.5606 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)