Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8") translateModel(Annex60.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001235/0.001239, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00113/0.001129, allocations: 193.6 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 222.1 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.399/0.399, allocations: 54.94 MB / 324.4 MB, free: 64 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 64.33 kB / 394.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.108, allocations: 59.59 MB / 454.5 MB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example8): time 0.178/0.2861, allocations: 0.578 MB / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001285/0.2863, allocations: 15.53 kB / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.2863, allocations: 0 / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.2864, allocations: 0 / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.2865, allocations: 3.562 kB / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.2865, allocations: 0 / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.174e-05/0.2866, allocations: 2.969 kB / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.2866, allocations: 3.453 kB / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.725e-05/0.2866, allocations: 7.5 kB / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.757e-05/0.2867, allocations: 3.281 kB / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.2867, allocations: 0 / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-06/0.2867, allocations: 3.125 kB / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.719e-06/0.2867, allocations: 0 / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.2868, allocations: 1.719 kB / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.109e-05/0.2868, allocations: 0.5 kB / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2868, allocations: 2.438 kB / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2868, allocations: 5.922 kB / 455.1 MB, free: 39.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.2868, allocations: 0.5 kB / 455.1 MB, free: 39.08 MB / 382.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.0001917/0.287, allocations: 316.8 kB / 455.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2871, allocations: 9.375 kB / 455.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.2871, allocations: 1.906 kB / 455.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.384e-05/0.2872, allocations: 161 kB / 455.6 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2872, allocations: 4.438 kB / 455.6 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.2872, allocations: 3.219 kB / 455.6 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.566e-05/0.2873, allocations: 45.17 kB / 455.6 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-06/0.2873, allocations: 192 / 455.6 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.2873, allocations: 6.562 kB / 455.6 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2873, allocations: 1.359 kB / 455.6 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.2874, allocations: 6.938 kB / 455.7 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.2875, allocations: 155.5 kB / 455.8 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.775e-05/0.2875, allocations: 37.44 kB / 455.8 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.2875, allocations: 12.75 kB / 455.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.2876, allocations: 5.406 kB / 455.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.2876, allocations: 32.73 kB / 455.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.2876, allocations: 0.6562 kB / 455.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001265/0.2877, allocations: 54.47 kB / 455.9 MB, free: 38.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.2878, allocations: 77.11 kB / 456 MB, free: 38.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.966e-05/0.2878, allocations: 92.08 kB / 456.1 MB, free: 37.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.2878, allocations: 28.22 kB / 456.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.069e-05/0.2878, allocations: 81.53 kB / 456.2 MB, free: 37.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.2879, allocations: 10.84 kB / 456.2 MB, free: 37.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.2879, allocations: 12.03 kB / 456.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.2879, allocations: 315.7 kB / 456.5 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.288, allocations: 0.6875 kB / 456.6 MB, free: 37.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.338e-05/0.288, allocations: 19.23 kB / 456.6 MB, free: 37.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.288, allocations: 27.03 kB / 456.6 MB, free: 37.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.288, allocations: 0 / 456.6 MB, free: 37.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.266e-05/0.2881, allocations: 34.11 kB / 456.6 MB, free: 37.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2881, allocations: 7.906 kB / 456.6 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2881, allocations: 4.422 kB / 456.6 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2881, allocations: 5.812 kB / 456.6 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.2882, allocations: 5.188 kB / 456.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2882, allocations: 0 / 456.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.2882, allocations: 3.281 kB / 456.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2882, allocations: 4.25 kB / 456.7 MB, free: 37.46 MB / 382.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.383e-05/0.2883, allocations: 106.5 kB / 456.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-06/0.2883, allocations: 1.719 kB / 456.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.381e-05/0.2884, allocations: 55.75 kB / 456.8 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2884, allocations: 4.469 kB / 456.8 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2884, allocations: 0 / 456.8 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.2884, allocations: 0.5625 kB / 456.8 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.14e-05/0.2885, allocations: 156.1 kB / 457 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2885, allocations: 0 / 457 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.2885, allocations: 3.562 kB / 457 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2885, allocations: 0.625 kB / 457 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.2886, allocations: 8.469 kB / 457 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2886, allocations: 1.125 kB / 457 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2886, allocations: 1.375 kB / 457 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.888e-05/0.2886, allocations: 73 kB / 457.1 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.2887, allocations: 81.34 kB / 457.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2887, allocations: 5.438 kB / 457.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.565e-05/0.2887, allocations: 3.781 kB / 457.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.2887, allocations: 2.875 kB / 457.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.2887, allocations: 2.625 kB / 457.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.244e-05/0.2888, allocations: 77.84 kB / 457.2 MB, free: 36.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2888, allocations: 0.6562 kB / 457.2 MB, free: 36.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.289, allocations: 2.938 kB / 457.2 MB, free: 36.88 MB / 382.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 7.442e-05/0.2891, allocations: 93.97 kB / 457.3 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.316e-05/0.2891, allocations: 14.03 kB / 457.3 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2891, allocations: 1.062 kB / 457.3 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.578e-06/0.2892, allocations: 4.469 kB / 457.3 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.2893, allocations: 12.69 kB / 457.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.2895, allocations: 93.95 kB / 457.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.399e-05/0.2896, allocations: 0.6717 MB / 458.1 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.943e-05/0.2896, allocations: 5.625 kB / 458.1 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.2897, allocations: 8.562 kB / 458.1 MB, free: 35.99 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2897, allocations: 2.531 kB / 458.1 MB, free: 35.99 MB / 382.1 MB Notification: Performance of Templates: time 0.001844/0.2915, allocations: 191.5 kB / 458.3 MB, free: 35.98 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe 2>&1)