Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001482/0.001482, allocations: 106.4 kB / 16.35 MB, free: 5.828 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.001672/0.001672, allocations: 196.9 kB / 17.3 MB, free: 5.484 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7875/0.7875, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3184, allocations: 80.18 MB / 0.5815 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001591/0.32, allocations: 0.524 MB / 0.582 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000153/0.3202, allocations: 43.66 kB / 0.582 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.3203, allocations: 0 / 0.582 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.3203, allocations: 0 / 0.582 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.3204, allocations: 2.25 kB / 0.582 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.856e-05/0.3205, allocations: 12.31 kB / 0.582 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.245e-05/0.3206, allocations: 16.03 kB / 0.5821 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.3206, allocations: 1.406 kB / 0.5821 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.3206, allocations: 6.5 kB / 0.5821 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.3207, allocations: 11.05 kB / 0.5821 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.3207, allocations: 1.938 kB / 0.5821 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-06/0.3207, allocations: 1.344 kB / 0.5821 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.3208, allocations: 2.406 kB / 0.5821 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.3208, allocations: 5.031 kB / 0.5821 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.875e-05/0.3209, allocations: 11.88 kB / 0.5821 GB, free: 27.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3209, allocations: 2.844 kB / 0.5821 GB, free: 27.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3209, allocations: 0 / 0.5821 GB, free: 27.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3209, allocations: 0 / 0.5821 GB, free: 27.03 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.000283/0.3212, allocations: 339.4 kB / 0.5824 GB, free: 26.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.3212, allocations: 9.656 kB / 0.5824 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.3212, allocations: 0.9375 kB / 0.5824 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3214, allocations: 174.9 kB / 0.5826 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-06/0.3214, allocations: 384 / 0.5826 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.3214, allocations: 4.625 kB / 0.5826 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.992e-05/0.3215, allocations: 41.62 kB / 0.5826 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.3215, allocations: 0 / 0.5826 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.3215, allocations: 0 / 0.5826 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3215, allocations: 0 / 0.5826 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.502e-05/0.3215, allocations: 2.875 kB / 0.5827 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.732e-05/0.3216, allocations: 156.1 kB / 0.5828 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.167e-05/0.3217, allocations: 22.05 kB / 0.5828 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.3217, allocations: 11.19 kB / 0.5828 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.3217, allocations: 1.125 kB / 0.5828 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.3217, allocations: 36.19 kB / 0.5829 GB, free: 26.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3217, allocations: 1.25 kB / 0.5829 GB, free: 26.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.3219, allocations: 38.75 kB / 0.5829 GB, free: 26.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.3219, allocations: 57.47 kB / 0.583 GB, free: 26.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.813e-05/0.3219, allocations: 115.7 kB / 0.5831 GB, free: 25.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.322, allocations: 26.48 kB / 0.5831 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.964e-05/0.322, allocations: 82.05 kB / 0.5832 GB, free: 25.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.322, allocations: 6.766 kB / 0.5832 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.322, allocations: 21.23 kB / 0.5832 GB, free: 25.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.785e-05/0.3221, allocations: 312.5 kB / 0.5835 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.3221, allocations: 3.844 kB / 0.5835 GB, free: 25.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.72e-05/0.3221, allocations: 17.95 kB / 0.5835 GB, free: 25.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.3222, allocations: 22.69 kB / 0.5835 GB, free: 25.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3222, allocations: 1.062 kB / 0.5835 GB, free: 25.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.132e-05/0.3222, allocations: 49.72 kB / 0.5836 GB, free: 25.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3222, allocations: 9.438 kB / 0.5836 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.3223, allocations: 1.625 kB / 0.5836 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3223, allocations: 2.5 kB / 0.5836 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.564e-05/0.3223, allocations: 7.297 kB / 0.5836 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3223, allocations: 0 / 0.5836 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.3224, allocations: 5.156 kB / 0.5836 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3224, allocations: 5.781 kB / 0.5836 GB, free: 25.38 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.99e-05/0.3224, allocations: 113.5 kB / 0.5837 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.3224, allocations: 4.906 kB / 0.5837 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.682e-05/0.3225, allocations: 53.64 kB / 0.5838 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3225, allocations: 1.594 kB / 0.5838 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3225, allocations: 0 / 0.5838 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3225, allocations: 0 / 0.5838 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.682e-05/0.3226, allocations: 155 kB / 0.5839 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3226, allocations: 0.7812 kB / 0.5839 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.3227, allocations: 6.844 kB / 0.5839 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3227, allocations: 1.75 kB / 0.5839 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.3227, allocations: 0 / 0.5839 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3227, allocations: 2.125 kB / 0.5839 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3227, allocations: 0 / 0.5839 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.411e-05/0.3228, allocations: 85.23 kB / 0.584 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.758e-05/0.3228, allocations: 85.03 kB / 0.5841 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.3228, allocations: 2.562 kB / 0.5841 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.3229, allocations: 1.375 kB / 0.5841 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.3229, allocations: 3.984 kB / 0.5841 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.3229, allocations: 2.219 kB / 0.5841 GB, free: 24.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.729e-05/0.3229, allocations: 90.56 kB / 0.5842 GB, free: 24.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3229, allocations: 0.625 kB / 0.5842 GB, free: 24.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001803/0.3231, allocations: 2.594 kB / 0.5842 GB, free: 24.74 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 7.108e-05/0.3232, allocations: 98.95 kB / 0.5843 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.602e-05/0.3233, allocations: 18.22 kB / 0.5843 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3233, allocations: 0 / 0.5843 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.3233, allocations: 9.547 kB / 0.5843 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.3234, allocations: 6.172 kB / 0.5843 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.3237, allocations: 112.8 kB / 0.5844 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.9e-05/0.3238, allocations: 0.6832 MB / 0.5851 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.726e-05/0.3238, allocations: 1.438 kB / 0.5851 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.3238, allocations: 10.28 kB / 0.5851 GB, free: 23.81 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3238, allocations: 0 / 0.5851 GB, free: 23.81 MB / 446.1 MB Notification: Performance of Templates: time 0.002257/0.3261, allocations: 312.2 kB / 0.5854 GB, free: 23.67 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)