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.001119/0.001118, allocations: 109.5 kB / 16.37 MB, free: 6.477 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.001053/0.001054, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7734/0.7734, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 0.5067 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.32, allocations: 80.91 MB / 0.5858 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001669/0.3217, allocations: 0.5117 MB / 0.5863 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001656/0.3219, allocations: 42.78 kB / 0.5863 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.3219, allocations: 1 kB / 0.5863 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.322, allocations: 1.5 kB / 0.5863 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.3221, allocations: 8.656 kB / 0.5863 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.289e-05/0.3222, allocations: 6.703 kB / 0.5863 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.663e-05/0.3222, allocations: 12.08 kB / 0.5863 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.369e-05/0.3223, allocations: 2.031 kB / 0.5863 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.165e-05/0.3223, allocations: 3.656 kB / 0.5863 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.3224, allocations: 12.45 kB / 0.5863 GB, free: 25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.3224, allocations: 1.188 kB / 0.5863 GB, free: 25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-06/0.3224, allocations: 0 / 0.5863 GB, free: 25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.3225, allocations: 6.75 kB / 0.5864 GB, free: 25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.3225, allocations: 10.36 kB / 0.5864 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.478e-05/0.3226, allocations: 12.17 kB / 0.5864 GB, free: 24.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.3226, allocations: 1.188 kB / 0.5864 GB, free: 24.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3226, allocations: 0 / 0.5864 GB, free: 24.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3226, allocations: 0 / 0.5864 GB, free: 24.98 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.0003268/0.3229, allocations: 331.6 kB / 0.5867 GB, free: 24.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.323, allocations: 10.02 kB / 0.5867 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.323, allocations: 2.438 kB / 0.5867 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3232, allocations: 178.6 kB / 0.5869 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.3232, allocations: 1.656 kB / 0.5869 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.3232, allocations: 1.688 kB / 0.5869 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.869e-05/0.3233, allocations: 40.94 kB / 0.5869 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.3233, allocations: 1.562 kB / 0.5869 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.3233, allocations: 0.9062 kB / 0.5869 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3233, allocations: 0 / 0.5869 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.3233, allocations: 6.688 kB / 0.5869 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.3234, allocations: 154.3 kB / 0.5871 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.559e-05/0.3235, allocations: 24.84 kB / 0.5871 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.3235, allocations: 10.16 kB / 0.5871 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.3235, allocations: 1.375 kB / 0.5871 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.3235, allocations: 35.69 kB / 0.5871 GB, free: 24.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3236, allocations: 0 / 0.5871 GB, free: 24.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001235/0.3237, allocations: 52.34 kB / 0.5872 GB, free: 24.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.3237, allocations: 52.69 kB / 0.5872 GB, free: 23.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.698e-05/0.3238, allocations: 109.1 kB / 0.5873 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.3238, allocations: 26.8 kB / 0.5874 GB, free: 23.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.03e-05/0.3238, allocations: 81.27 kB / 0.5875 GB, free: 23.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.3238, allocations: 9.719 kB / 0.5875 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.3239, allocations: 17.97 kB / 0.5875 GB, free: 23.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.3239, allocations: 316.1 kB / 0.5878 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.3239, allocations: 4.25 kB / 0.5878 GB, free: 23.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.324, allocations: 21.73 kB / 0.5878 GB, free: 23.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.324, allocations: 23.53 kB / 0.5878 GB, free: 23.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.324, allocations: 0 / 0.5878 GB, free: 23.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.489e-05/0.3241, allocations: 49.84 kB / 0.5879 GB, free: 23.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3241, allocations: 6.25 kB / 0.5879 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3241, allocations: 5.234 kB / 0.5879 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3241, allocations: 2.281 kB / 0.5879 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.409e-05/0.3242, allocations: 7.719 kB / 0.5879 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3242, allocations: 1.562 kB / 0.5879 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.3242, allocations: 0 / 0.5879 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3242, allocations: 1.344 kB / 0.5879 GB, free: 23.32 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.835e-05/0.3243, allocations: 109.9 kB / 0.588 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.3243, allocations: 5.719 kB / 0.588 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.764e-05/0.3244, allocations: 52.45 kB / 0.5881 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3244, allocations: 0 / 0.5881 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3244, allocations: 4.062 kB / 0.5881 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3244, allocations: 0 / 0.5881 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.802e-05/0.3245, allocations: 155.2 kB / 0.5882 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3245, allocations: 0 / 0.5882 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.3246, allocations: 6.562 kB / 0.5882 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3246, allocations: 1.594 kB / 0.5882 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3246, allocations: 3.938 kB / 0.5882 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3246, allocations: 256 / 0.5882 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3246, allocations: 5.812 kB / 0.5882 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.3247, allocations: 81.95 kB / 0.5883 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.3247, allocations: 82.42 kB / 0.5884 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3248, allocations: 1.5 kB / 0.5884 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.12e-05/0.3248, allocations: 3.984 kB / 0.5884 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.3248, allocations: 5.312 kB / 0.5884 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.3248, allocations: 0 / 0.5884 GB, free: 22.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.885e-05/0.3248, allocations: 83.75 kB / 0.5885 GB, free: 22.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3248, allocations: 2.312 kB / 0.5885 GB, free: 22.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.325, allocations: 2.344 kB / 0.5885 GB, free: 22.7 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 8.908e-05/0.3251, allocations: 105.5 kB / 0.5886 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.929e-05/0.3252, allocations: 17.75 kB / 0.5886 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3252, allocations: 0 / 0.5886 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.52e-05/0.3252, allocations: 9.859 kB / 0.5886 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.3254, allocations: 11.89 kB / 0.5886 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.3256, allocations: 113.4 kB / 0.5887 GB, free: 22.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.3258, allocations: 0.6786 MB / 0.5894 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.338e-05/0.3258, allocations: 2.906 kB / 0.5894 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.3258, allocations: 8.812 kB / 0.5894 GB, free: 21.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3258, allocations: 0 / 0.5894 GB, free: 21.77 MB / 446.1 MB Notification: Performance of Templates: time 0.002105/0.3279, allocations: 329.6 kB / 0.5897 GB, free: 21.61 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)