Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006877/0.006877, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001388/0.001389, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.631/1.631, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9467/0.9467, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.89 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3988, allocations: 80.91 MB / 0.6646 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001444/0.4003, allocations: 0.522 MB / 0.6651 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.4004, allocations: 47.73 kB / 0.6652 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.4005, allocations: 0 / 0.6652 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.4005, allocations: 3.938 kB / 0.6652 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.4007, allocations: 1.188 kB / 0.6652 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.987e-05/0.4007, allocations: 6.297 kB / 0.6652 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.503e-05/0.4008, allocations: 9.438 kB / 0.6652 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.4008, allocations: 1.281 kB / 0.6652 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.4009, allocations: 5.344 kB / 0.6652 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.401, allocations: 16.36 kB / 0.6652 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.401, allocations: 1.188 kB / 0.6652 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-06/0.401, allocations: 0 / 0.6652 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.4011, allocations: 5.922 kB / 0.6652 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.4011, allocations: 10.05 kB / 0.6652 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.234e-05/0.4012, allocations: 3.344 kB / 0.6652 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4012, allocations: 4 kB / 0.6652 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4012, allocations: 1.188 kB / 0.6653 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.4012, allocations: 0 / 0.6653 GB, free: 7.129 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003401/0.4015, allocations: 333.9 kB / 0.6656 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4016, allocations: 8.844 kB / 0.6656 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.4016, allocations: 6.219 kB / 0.6656 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.4018, allocations: 173.6 kB / 0.6657 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.4018, allocations: 1.531 kB / 0.6658 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.4018, allocations: 384 / 0.6658 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.676e-05/0.4019, allocations: 37.52 kB / 0.6658 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.4019, allocations: 0 / 0.6658 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.4019, allocations: 0 / 0.6658 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.4019, allocations: 1.406 kB / 0.6658 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.4019, allocations: 10.73 kB / 0.6658 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001022/0.402, allocations: 153.6 kB / 0.6659 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.34e-05/0.4021, allocations: 25.25 kB / 0.666 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.4021, allocations: 11.42 kB / 0.666 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.4021, allocations: 3.938 kB / 0.666 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.4021, allocations: 35.78 kB / 0.666 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4021, allocations: 4 kB / 0.666 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.4023, allocations: 47.48 kB / 0.6661 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.4023, allocations: 53.16 kB / 0.6661 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.967e-05/0.4023, allocations: 107.6 kB / 0.6662 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.4024, allocations: 25.7 kB / 0.6662 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.298e-05/0.4024, allocations: 81.61 kB / 0.6663 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.4024, allocations: 11.7 kB / 0.6663 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.4024, allocations: 12.56 kB / 0.6663 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.4025, allocations: 316.1 kB / 0.6666 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.4025, allocations: 6.734 kB / 0.6667 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.4025, allocations: 21.97 kB / 0.6667 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/0.4026, allocations: 20.48 kB / 0.6667 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4026, allocations: 0 / 0.6667 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.224e-05/0.4026, allocations: 58.78 kB / 0.6667 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4027, allocations: 5.625 kB / 0.6668 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4027, allocations: 0 / 0.6668 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4027, allocations: 1.219 kB / 0.6668 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.4028, allocations: 3.688 kB / 0.6668 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.4028, allocations: 0 / 0.6668 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.4028, allocations: 5.156 kB / 0.6668 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.4028, allocations: 1.406 kB / 0.6668 GB, free: 5.457 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.4029, allocations: 112.4 kB / 0.6669 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.4029, allocations: 9.219 kB / 0.6669 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.403, allocations: 55.28 kB / 0.6669 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.403, allocations: 0 / 0.6669 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.403, allocations: 1.094 kB / 0.6669 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.403, allocations: 0 / 0.6669 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.71e-05/0.4031, allocations: 159.3 kB / 0.6671 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4031, allocations: 3.938 kB / 0.6671 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.4031, allocations: 6.891 kB / 0.6671 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4031, allocations: 1.469 kB / 0.6671 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.4031, allocations: 0 / 0.6671 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4031, allocations: 7.969 kB / 0.6671 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4031, allocations: 1.5 kB / 0.6671 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.598e-05/0.4032, allocations: 69.88 kB / 0.6672 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.4033, allocations: 90.62 kB / 0.6673 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.4033, allocations: 0 / 0.6673 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.341e-05/0.4033, allocations: 5.25 kB / 0.6673 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.4033, allocations: 5 kB / 0.6673 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.4033, allocations: 5.219 kB / 0.6673 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.938e-05/0.4034, allocations: 85.89 kB / 0.6674 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4034, allocations: 0 / 0.6674 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002479/0.4036, allocations: 6.188 kB / 0.6674 GB, free: 4.793 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.254e-05/0.4037, allocations: 95.3 kB / 0.6675 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.427e-05/0.4038, allocations: 13.3 kB / 0.6675 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4038, allocations: 0 / 0.6675 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.331e-05/0.4038, allocations: 13.5 kB / 0.6675 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.404, allocations: 9.375 kB / 0.6675 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.4042, allocations: 116.7 kB / 0.6676 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.943e-05/0.4043, allocations: 0.6777 MB / 0.6683 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.4043, allocations: 6.578 kB / 0.6683 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.4043, allocations: 8.938 kB / 0.6683 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4043, allocations: 0 / 0.6683 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of Templates: time 0.001908/0.4062, allocations: 319.8 kB / 0.6686 GB, free: 3.688 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)