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.001185/0.001185, allocations: 99.92 kB / 16.35 MB, free: 5.824 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.001283/0.001283, allocations: 193 kB / 17.29 MB, free: 5.48 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.436/1.436, 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.7837/0.7837, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 0.5067 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3197, allocations: 80.91 MB / 0.5857 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001455/0.3212, allocations: 0.5178 MB / 0.5863 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001273/0.3213, allocations: 42.19 kB / 0.5863 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.3214, allocations: 6.375 kB / 0.5863 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.3214, allocations: 0 / 0.5863 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.192e-05/0.3215, allocations: 1.094 kB / 0.5863 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.114e-05/0.3216, allocations: 9.891 kB / 0.5863 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.302e-05/0.3216, allocations: 10.17 kB / 0.5863 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.3217, allocations: 1.656 kB / 0.5863 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.905e-05/0.3217, allocations: 9.156 kB / 0.5863 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.538e-05/0.3218, allocations: 9.078 kB / 0.5863 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3218, allocations: 1.375 kB / 0.5863 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.301e-06/0.3218, allocations: 1.094 kB / 0.5863 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.3218, allocations: 2.219 kB / 0.5863 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.3219, allocations: 9.984 kB / 0.5864 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.616e-05/0.3219, allocations: 12.7 kB / 0.5864 GB, free: 25.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3219, allocations: 0 / 0.5864 GB, free: 25.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3219, allocations: 5.094 kB / 0.5864 GB, free: 25.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3219, allocations: 0 / 0.5864 GB, free: 25.1 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002794/0.3222, allocations: 326.8 kB / 0.5867 GB, free: 24.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.3223, allocations: 11.58 kB / 0.5867 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.3223, allocations: 6.359 kB / 0.5867 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3224, allocations: 173.8 kB / 0.5869 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.3224, allocations: 1.688 kB / 0.5869 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3225, allocations: 5.5 kB / 0.5869 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.796e-05/0.3225, allocations: 41.8 kB / 0.5869 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.3225, allocations: 0 / 0.5869 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.3225, allocations: 1.188 kB / 0.5869 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.3225, allocations: 1.719 kB / 0.5869 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.524e-05/0.3226, allocations: 2.531 kB / 0.5869 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.988e-05/0.3227, allocations: 154.3 kB / 0.5871 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.137e-05/0.3227, allocations: 22.41 kB / 0.5871 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.3227, allocations: 15.23 kB / 0.5871 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.3227, allocations: 1.156 kB / 0.5871 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.738e-06/0.3228, allocations: 36.91 kB / 0.5871 GB, free: 24.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3228, allocations: 0 / 0.5871 GB, free: 24.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.3229, allocations: 45.38 kB / 0.5872 GB, free: 24.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.3229, allocations: 52.69 kB / 0.5872 GB, free: 24.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.323, allocations: 107.4 kB / 0.5873 GB, free: 24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-06/0.323, allocations: 25.7 kB / 0.5874 GB, free: 23.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.919e-05/0.323, allocations: 86.16 kB / 0.5874 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.323, allocations: 13.08 kB / 0.5875 GB, free: 23.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.3231, allocations: 13.19 kB / 0.5875 GB, free: 23.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.3231, allocations: 314 kB / 0.5878 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.3231, allocations: 6.344 kB / 0.5878 GB, free: 23.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.007e-05/0.3231, allocations: 21.42 kB / 0.5878 GB, free: 23.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.3232, allocations: 19.34 kB / 0.5878 GB, free: 23.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3232, allocations: 5.234 kB / 0.5878 GB, free: 23.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.984e-05/0.3232, allocations: 54.7 kB / 0.5879 GB, free: 23.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3233, allocations: 10.42 kB / 0.5879 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.3233, allocations: 0 / 0.5879 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3233, allocations: 1.875 kB / 0.5879 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.3233, allocations: 6.062 kB / 0.5879 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3234, allocations: 6.359 kB / 0.5879 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.3234, allocations: 1.594 kB / 0.5879 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3234, allocations: 0 / 0.5879 GB, free: 23.44 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 3.865e-05/0.3234, allocations: 111.3 kB / 0.588 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.3235, allocations: 8.891 kB / 0.588 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.3235, allocations: 51.72 kB / 0.5881 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3235, allocations: 1.625 kB / 0.5881 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3236, allocations: 1.875 kB / 0.5881 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3236, allocations: 0 / 0.5881 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.628e-05/0.3236, allocations: 154.6 kB / 0.5882 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3236, allocations: 1.469 kB / 0.5882 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.3237, allocations: 7.156 kB / 0.5882 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3237, allocations: 1.25 kB / 0.5882 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3237, allocations: 0 / 0.5882 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3237, allocations: 5.234 kB / 0.5882 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3237, allocations: 1.438 kB / 0.5882 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.067e-05/0.3238, allocations: 79.62 kB / 0.5883 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.3238, allocations: 82.14 kB / 0.5884 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3238, allocations: 9.016 kB / 0.5884 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/0.3239, allocations: 1.781 kB / 0.5884 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.3239, allocations: 2.719 kB / 0.5884 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.3239, allocations: 3.938 kB / 0.5884 GB, free: 22.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.756e-05/0.3239, allocations: 85.86 kB / 0.5885 GB, free: 22.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3239, allocations: 1.156 kB / 0.5885 GB, free: 22.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001783/0.3241, allocations: 7.656 kB / 0.5885 GB, free: 22.8 MB / 446.1 MB 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 6.341e-05/0.3242, allocations: 96.97 kB / 0.5886 GB, free: 22.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.687e-05/0.3243, allocations: 12.92 kB / 0.5886 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3243, allocations: 0 / 0.5886 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.3243, allocations: 9.312 kB / 0.5886 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.3244, allocations: 7.438 kB / 0.5886 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001971/0.3246, allocations: 108.6 kB / 0.5887 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.28e-05/0.3247, allocations: 0.6787 MB / 0.5894 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.45e-05/0.3248, allocations: 2.781 kB / 0.5894 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.3248, allocations: 14.06 kB / 0.5894 GB, free: 21.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3248, allocations: 3.938 kB / 0.5894 GB, free: 21.88 MB / 446.1 MB Notification: Performance of Templates: time 0.001877/0.3267, allocations: 323.5 kB / 0.5897 GB, free: 21.73 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)