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.001048/0.001048, allocations: 104.6 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.001102/0.001102, allocations: 193.2 kB / 17.29 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7488/0.7488, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 55.91 kB / 0.5067 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2956, allocations: 80.92 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.00176/0.2974, allocations: 0.5144 MB / 0.5863 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000115/0.2976, allocations: 16.11 kB / 0.5863 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.2976, allocations: 0.5 kB / 0.5863 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.001e-05/0.2976, allocations: 0 / 0.5863 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.2978, allocations: 5.875 kB / 0.5863 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.306e-06/0.2978, allocations: 0 / 0.5863 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.162e-05/0.2978, allocations: 3.375 kB / 0.5863 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.2979, allocations: 2.312 kB / 0.5863 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.599e-05/0.2979, allocations: 3.938 kB / 0.5863 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.465e-05/0.2979, allocations: 9.391 kB / 0.5863 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.298, allocations: 0.5938 kB / 0.5863 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.3e-06/0.298, allocations: 1.5 kB / 0.5863 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.298, allocations: 5.422 kB / 0.5863 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.298, allocations: 0 / 0.5863 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 3.969e-05/0.2981, allocations: 1.406 kB / 0.5863 GB, free: 25.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2981, allocations: 1.75 kB / 0.5863 GB, free: 25.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2981, allocations: 0 / 0.5863 GB, free: 25.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2981, allocations: 0 / 0.5863 GB, free: 25.12 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.0001731/0.2983, allocations: 312.3 kB / 0.5866 GB, free: 24.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2983, allocations: 10.23 kB / 0.5866 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.2983, allocations: 2.188 kB / 0.5866 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.982e-05/0.2984, allocations: 167 kB / 0.5868 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2984, allocations: 1.562 kB / 0.5868 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.2984, allocations: 384 / 0.5868 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.2985, allocations: 52.05 kB / 0.5868 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2985, allocations: 4.516 kB / 0.5868 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.2985, allocations: 3.938 kB / 0.5868 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2986, allocations: 1.875 kB / 0.5868 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.2986, allocations: 6.297 kB / 0.5868 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.572e-05/0.2987, allocations: 153.8 kB / 0.587 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.629e-05/0.2987, allocations: 38.41 kB / 0.587 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.2987, allocations: 12.91 kB / 0.587 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2988, allocations: 1.125 kB / 0.587 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.2988, allocations: 44.61 kB / 0.5871 GB, free: 24.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.2988, allocations: 0 / 0.5871 GB, free: 24.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001222/0.2989, allocations: 40.58 kB / 0.5871 GB, free: 24.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.299, allocations: 82.86 kB / 0.5872 GB, free: 24.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.392e-05/0.299, allocations: 94.8 kB / 0.5873 GB, free: 23.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.55e-06/0.299, allocations: 25.7 kB / 0.5873 GB, free: 23.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.687e-06/0.299, allocations: 82.08 kB / 0.5874 GB, free: 23.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.299, allocations: 9.234 kB / 0.5874 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.2991, allocations: 12.25 kB / 0.5874 GB, free: 23.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.2991, allocations: 314 kB / 0.5877 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.2991, allocations: 9.156 kB / 0.5877 GB, free: 23.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.061e-05/0.2991, allocations: 11.88 kB / 0.5877 GB, free: 23.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.925e-05/0.2992, allocations: 17.16 kB / 0.5877 GB, free: 23.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2992, allocations: 0 / 0.5877 GB, free: 23.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.368e-05/0.2992, allocations: 48.38 kB / 0.5878 GB, free: 23.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2993, allocations: 11.72 kB / 0.5878 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2993, allocations: 0 / 0.5878 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2993, allocations: 0.5 kB / 0.5878 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.2994, allocations: 4.969 kB / 0.5878 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2994, allocations: 5.062 kB / 0.5878 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.2994, allocations: 0 / 0.5878 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2994, allocations: 6.703 kB / 0.5878 GB, free: 23.41 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.154e-05/0.2995, allocations: 110.5 kB / 0.5879 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.2995, allocations: 10.25 kB / 0.5879 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.124e-05/0.2996, allocations: 49.53 kB / 0.588 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2996, allocations: 1.438 kB / 0.588 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2996, allocations: 2.031 kB / 0.588 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2996, allocations: 1.312 kB / 0.588 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.994e-05/0.2996, allocations: 152.4 kB / 0.5881 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2997, allocations: 3.938 kB / 0.5881 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.2997, allocations: 7.422 kB / 0.5881 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2997, allocations: 9.906 kB / 0.5882 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.2997, allocations: 0 / 0.5882 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2997, allocations: 1.875 kB / 0.5882 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2997, allocations: 2.344 kB / 0.5882 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.401e-05/0.2998, allocations: 67.52 kB / 0.5882 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.2998, allocations: 84.48 kB / 0.5883 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-06/0.2998, allocations: 0 / 0.5883 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.458e-05/0.2998, allocations: 1.438 kB / 0.5883 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.2998, allocations: 1.281 kB / 0.5883 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.2998, allocations: 2.531 kB / 0.5883 GB, free: 22.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.069e-05/0.2999, allocations: 75.28 kB / 0.5884 GB, free: 22.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2999, allocations: 0 / 0.5884 GB, free: 22.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001762/0.3, allocations: 5.969 kB / 0.5884 GB, free: 22.79 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 6.976e-05/0.3001, allocations: 98.94 kB / 0.5885 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.324e-05/0.3002, allocations: 15.23 kB / 0.5885 GB, free: 22.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3002, allocations: 0 / 0.5885 GB, free: 22.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/0.3002, allocations: 8.406 kB / 0.5885 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.3004, allocations: 3.281 kB / 0.5885 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.3005, allocations: 99.84 kB / 0.5886 GB, free: 22.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.824e-05/0.3006, allocations: 0.6711 MB / 0.5893 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.636e-05/0.3006, allocations: 2.812 kB / 0.5893 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.3007, allocations: 7.438 kB / 0.5893 GB, free: 21.87 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3007, allocations: 1.469 kB / 0.5893 GB, free: 21.87 MB / 446.1 MB Notification: Performance of Templates: time 0.001771/0.3025, allocations: 191.7 kB / 0.5894 GB, free: 21.78 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)