Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001519/0.001519, allocations: 111.8 kB / 16.37 MB, free: 5.539 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.001722/0.001722, allocations: 192.2 kB / 17.3 MB, free: 5.18 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7987/0.7987, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 67.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3544, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001753/0.3562, allocations: 0.51 MB / 0.582 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001195/0.3563, allocations: 20.66 kB / 0.582 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.3564, allocations: 0 / 0.582 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.3564, allocations: 0 / 0.582 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.3565, allocations: 6.312 kB / 0.582 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.148e-06/0.3566, allocations: 0 / 0.582 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.749e-05/0.3566, allocations: 7.375 kB / 0.582 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.3567, allocations: 1 kB / 0.582 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.502e-05/0.3567, allocations: 1.656 kB / 0.582 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.634e-05/0.3567, allocations: 1.406 kB / 0.582 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.3567, allocations: 0 / 0.582 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-06/0.3568, allocations: 0.5938 kB / 0.582 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.301e-05/0.3568, allocations: 7.969 kB / 0.582 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.3568, allocations: 7.75 kB / 0.582 GB, free: 27.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.074e-05/0.3568, allocations: 9.406 kB / 0.582 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3569, allocations: 0 / 0.582 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.3569, allocations: 3.938 kB / 0.5821 GB, free: 27.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3569, allocations: 0 / 0.5821 GB, free: 27.16 MB / 446.1 MB 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.0002039/0.3571, allocations: 307.7 kB / 0.5823 GB, free: 26.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3571, allocations: 9.906 kB / 0.5824 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.3572, allocations: 2.406 kB / 0.5824 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.616e-05/0.3572, allocations: 167 kB / 0.5825 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3573, allocations: 384 / 0.5825 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3573, allocations: 2.156 kB / 0.5825 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.3574, allocations: 47.08 kB / 0.5826 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3574, allocations: 0.8125 kB / 0.5826 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3574, allocations: 3.984 kB / 0.5826 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3574, allocations: 1.812 kB / 0.5826 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.146e-05/0.3574, allocations: 10.7 kB / 0.5826 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.3576, allocations: 158.5 kB / 0.5827 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.702e-05/0.3576, allocations: 38.09 kB / 0.5828 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.3576, allocations: 11.12 kB / 0.5828 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3576, allocations: 6.75 kB / 0.5828 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.3577, allocations: 45.42 kB / 0.5828 GB, free: 26.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3577, allocations: 0 / 0.5828 GB, free: 26.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001221/0.3578, allocations: 39.23 kB / 0.5829 GB, free: 26.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.3578, allocations: 86.02 kB / 0.5829 GB, free: 26.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.588e-05/0.3578, allocations: 89.86 kB / 0.583 GB, free: 26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.3579, allocations: 25.7 kB / 0.5831 GB, free: 25.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.157e-06/0.3579, allocations: 80.14 kB / 0.5831 GB, free: 25.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.3579, allocations: 5.078 kB / 0.5831 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.3579, allocations: 12.22 kB / 0.5831 GB, free: 25.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.358, allocations: 316.7 kB / 0.5835 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.358, allocations: 1.281 kB / 0.5835 GB, free: 25.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.358, allocations: 13.97 kB / 0.5835 GB, free: 25.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.033e-05/0.3581, allocations: 20.12 kB / 0.5835 GB, free: 25.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3581, allocations: 0.8438 kB / 0.5835 GB, free: 25.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.453e-05/0.3581, allocations: 50.25 kB / 0.5835 GB, free: 25.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3581, allocations: 11.38 kB / 0.5835 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3581, allocations: 1.156 kB / 0.5835 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3582, allocations: 5 kB / 0.5835 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.3582, allocations: 2.375 kB / 0.5836 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3582, allocations: 1.188 kB / 0.5836 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.3583, allocations: 3.781 kB / 0.5836 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3583, allocations: 5.203 kB / 0.5836 GB, free: 25.45 MB / 446.1 MB 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.149e-05/0.3583, allocations: 108.8 kB / 0.5837 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.3583, allocations: 5.25 kB / 0.5837 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.298e-05/0.3584, allocations: 50.78 kB / 0.5837 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3584, allocations: 3.938 kB / 0.5837 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3585, allocations: 2.281 kB / 0.5837 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3585, allocations: 0 / 0.5837 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.878e-05/0.3585, allocations: 150.7 kB / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3585, allocations: 0 / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.3586, allocations: 7.484 kB / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3586, allocations: 5.062 kB / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.3586, allocations: 1.219 kB / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3586, allocations: 0 / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3586, allocations: 1.094 kB / 0.5839 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.502e-05/0.3586, allocations: 73.11 kB / 0.584 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.3587, allocations: 82.42 kB / 0.584 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.3587, allocations: 2.344 kB / 0.584 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.661e-05/0.3587, allocations: 1.281 kB / 0.584 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.3587, allocations: 2.562 kB / 0.584 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3587, allocations: 0 / 0.584 GB, free: 24.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.285e-05/0.3587, allocations: 76.56 kB / 0.5841 GB, free: 24.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3587, allocations: 0.75 kB / 0.5841 GB, free: 24.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.359, allocations: 5.281 kB / 0.5841 GB, free: 24.83 MB / 446.1 MB 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.412e-05/0.3591, allocations: 93.66 kB / 0.5842 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.083e-05/0.3592, allocations: 16.58 kB / 0.5842 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3592, allocations: 0 / 0.5842 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.829e-06/0.3592, allocations: 3.906 kB / 0.5842 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.3593, allocations: 2.062 kB / 0.5842 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001654/0.3595, allocations: 100.9 kB / 0.5843 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.493e-05/0.3596, allocations: 0.6728 MB / 0.585 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.694e-05/0.3596, allocations: 0 / 0.585 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.3596, allocations: 9.719 kB / 0.585 GB, free: 23.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3596, allocations: 3.938 kB / 0.585 GB, free: 23.91 MB / 446.1 MB Notification: Performance of Templates: time 0.001872/0.3615, allocations: 196.1 kB / 0.5852 GB, free: 23.82 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)