Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00471/0.00471, allocations: 100.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.001086/0.001086, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.916/0.916, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 0.5856 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3995, allocations: 80.91 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001361/0.4009, allocations: 0.4931 MB / 0.6651 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001184/0.401, allocations: 23.67 kB / 0.6651 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.4011, allocations: 0 / 0.6651 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.4011, allocations: 0 / 0.6651 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.4012, allocations: 5.344 kB / 0.6651 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.206e-06/0.4012, allocations: 0 / 0.6651 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.344e-05/0.4013, allocations: 5.422 kB / 0.6651 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.4013, allocations: 3.188 kB / 0.6651 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.481e-05/0.4013, allocations: 9.016 kB / 0.6652 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.4014, allocations: 1.094 kB / 0.6652 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.4014, allocations: 1.281 kB / 0.6652 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-06/0.4014, allocations: 4 kB / 0.6652 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.4014, allocations: 0 / 0.6652 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.584e-05/0.4014, allocations: 9.156 kB / 0.6652 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.111e-05/0.4015, allocations: 0 / 0.6652 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4015, allocations: 1.031 kB / 0.6652 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4015, allocations: 0 / 0.6652 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.872e-06/0.4015, allocations: 0 / 0.6652 GB, free: 7.207 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001871/0.4017, allocations: 315.2 kB / 0.6655 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.4017, allocations: 9.375 kB / 0.6655 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.4018, allocations: 2.25 kB / 0.6655 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.485e-05/0.4018, allocations: 164.4 kB / 0.6656 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4018, allocations: 5.391 kB / 0.6656 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.4018, allocations: 1.25 kB / 0.6656 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.402, allocations: 54.72 kB / 0.6657 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.402, allocations: 0 / 0.6657 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.402, allocations: 1.219 kB / 0.6657 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.402, allocations: 3.938 kB / 0.6657 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.15e-05/0.402, allocations: 2.406 kB / 0.6657 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.525e-05/0.4021, allocations: 161 kB / 0.6659 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.075e-05/0.4022, allocations: 41.2 kB / 0.6659 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.4022, allocations: 14.97 kB / 0.6659 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.4022, allocations: 5.25 kB / 0.6659 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.4022, allocations: 35.91 kB / 0.666 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.4022, allocations: 0 / 0.666 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000126/0.4024, allocations: 47.56 kB / 0.666 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.4024, allocations: 78.48 kB / 0.6661 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.388e-05/0.4024, allocations: 89.86 kB / 0.6662 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-06/0.4024, allocations: 25.7 kB / 0.6662 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.558e-06/0.4024, allocations: 84.12 kB / 0.6663 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.4025, allocations: 5.375 kB / 0.6663 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.4025, allocations: 23.06 kB / 0.6663 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.596e-05/0.4025, allocations: 318.8 kB / 0.6666 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-06/0.4025, allocations: 0 / 0.6666 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.4026, allocations: 16.52 kB / 0.6666 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/0.4026, allocations: 13.97 kB / 0.6666 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4026, allocations: 4.062 kB / 0.6666 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.008e-05/0.4027, allocations: 46.89 kB / 0.6667 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.4027, allocations: 5.062 kB / 0.6667 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4027, allocations: 5.359 kB / 0.6667 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.4027, allocations: 0 / 0.6667 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.441e-05/0.4028, allocations: 3.781 kB / 0.6667 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4028, allocations: 1.281 kB / 0.6667 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.4028, allocations: 0 / 0.6667 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.4028, allocations: 1.156 kB / 0.6667 GB, free: 5.473 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 3.987e-05/0.4028, allocations: 115 kB / 0.6668 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.4029, allocations: 9.25 kB / 0.6668 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.99e-05/0.403, allocations: 45.44 kB / 0.6668 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.403, allocations: 1.469 kB / 0.6668 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.403, allocations: 0 / 0.6668 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.403, allocations: 1.656 kB / 0.6669 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.992e-05/0.403, allocations: 150.9 kB / 0.667 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.403, allocations: 5.438 kB / 0.667 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.4031, allocations: 10.69 kB / 0.667 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4031, allocations: 1.031 kB / 0.667 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.4031, allocations: 1.062 kB / 0.667 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4031, allocations: 0 / 0.667 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4031, allocations: 1.156 kB / 0.667 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.314e-05/0.4031, allocations: 66.36 kB / 0.6671 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.4032, allocations: 89.98 kB / 0.6672 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-06/0.4032, allocations: 2.188 kB / 0.6672 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/0.4032, allocations: 0 / 0.6672 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.4032, allocations: 5.203 kB / 0.6672 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.4032, allocations: 1.5 kB / 0.6672 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.141e-05/0.4032, allocations: 81.98 kB / 0.6672 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4032, allocations: 0 / 0.6672 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001746/0.4034, allocations: 1.406 kB / 0.6673 GB, free: 4.828 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 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 8.17e-05/0.4035, allocations: 107 kB / 0.6674 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.836e-05/0.4036, allocations: 7.312 kB / 0.6674 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.4036, allocations: 0 / 0.6674 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.4036, allocations: 7.5 kB / 0.6674 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.4038, allocations: 13.41 kB / 0.6674 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001782/0.4039, allocations: 95.53 kB / 0.6675 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.242e-05/0.404, allocations: 0.6797 MB / 0.6681 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.522e-05/0.4041, allocations: 1.469 kB / 0.6681 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.4041, allocations: 11.42 kB / 0.6681 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4041, allocations: 0 / 0.6681 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of Templates: time 0.001704/0.4058, allocations: 195.7 kB / 0.6683 GB, free: 3.777 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)