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.007528/0.007528, allocations: 101.1 kB / 15.73 MB, free: 5.996 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.001506/0.001506, allocations: 195.9 kB / 16.68 MB, free: 5.918 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.528/1.528, allocations: 205.1 MB / 222.6 MB, free: 4.371 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4229/0.4229, allocations: 54.94 MB / 324.8 MB, free: 88 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.001451/0.001451, allocations: 69.78 kB / 456.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 59.59 MB / 0.5038 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example8): time 0.001524/0.1094, allocations: 0.5059 MB / 0.5043 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001427/0.1095, allocations: 11.42 kB / 0.5043 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.1096, allocations: 1.156 kB / 0.5043 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.1096, allocations: 3.938 kB / 0.5043 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1097, allocations: 13.25 kB / 0.5043 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.429e-06/0.1098, allocations: 0 / 0.5043 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.762e-05/0.1098, allocations: 10.12 kB / 0.5043 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.75e-05/0.1099, allocations: 1.125 kB / 0.5043 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.675e-05/0.1099, allocations: 0.7188 kB / 0.5043 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.1099, allocations: 1.125 kB / 0.5043 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.11, allocations: 0 / 0.5043 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-06/0.11, allocations: 1.094 kB / 0.5043 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.11, allocations: 3.938 kB / 0.5043 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.11, allocations: 1.062 kB / 0.5043 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.906e-05/0.1101, allocations: 5.266 kB / 0.5043 GB, free: 9.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1101, allocations: 4 kB / 0.5043 GB, free: 9.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1101, allocations: 0 / 0.5043 GB, free: 9.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1101, allocations: 0 / 0.5043 GB, free: 9.18 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.000224/0.1103, allocations: 315.2 kB / 0.5046 GB, free: 8.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1104, allocations: 13.41 kB / 0.5046 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.1104, allocations: 1.719 kB / 0.5046 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.409e-05/0.1104, allocations: 160.4 kB / 0.5048 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1105, allocations: 1.469 kB / 0.5048 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.1105, allocations: 1.469 kB / 0.5048 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.303e-05/0.1106, allocations: 47.56 kB / 0.5048 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1106, allocations: 192 / 0.5048 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1106, allocations: 8.969 kB / 0.5049 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1106, allocations: 0 / 0.5049 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.266e-05/0.1106, allocations: 6.656 kB / 0.5049 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.1108, allocations: 153 kB / 0.505 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.227e-05/0.1108, allocations: 41.16 kB / 0.505 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.1108, allocations: 16.53 kB / 0.5051 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1108, allocations: 0 / 0.5051 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.1109, allocations: 35.53 kB / 0.5051 GB, free: 8.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.1109, allocations: 0 / 0.5051 GB, free: 8.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001513/0.111, allocations: 56.06 kB / 0.5052 GB, free: 8.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.1111, allocations: 77.11 kB / 0.5052 GB, free: 8.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.746e-05/0.1111, allocations: 91.3 kB / 0.5053 GB, free: 8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.1111, allocations: 25.7 kB / 0.5053 GB, free: 7.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.167e-05/0.1111, allocations: 80.14 kB / 0.5054 GB, free: 7.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.1111, allocations: 8.938 kB / 0.5054 GB, free: 7.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.1112, allocations: 11.84 kB / 0.5054 GB, free: 7.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.1112, allocations: 312 kB / 0.5057 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.1112, allocations: 9.641 kB / 0.5057 GB, free: 7.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.1112, allocations: 15.56 kB / 0.5058 GB, free: 7.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.1113, allocations: 23 kB / 0.5058 GB, free: 7.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1113, allocations: 0 / 0.5058 GB, free: 7.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.006e-05/0.1113, allocations: 40.05 kB / 0.5058 GB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1114, allocations: 9.016 kB / 0.5058 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1114, allocations: 4.125 kB / 0.5058 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1114, allocations: 9.156 kB / 0.5058 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.1115, allocations: 2.625 kB / 0.5058 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1115, allocations: 1.562 kB / 0.5058 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.551e-05/0.1115, allocations: 4 kB / 0.5058 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.1115, allocations: 1.375 kB / 0.5058 GB, free: 7.445 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 5.072e-05/0.1116, allocations: 107.1 kB / 0.5059 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.1116, allocations: 1.094 kB / 0.5059 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.403e-05/0.1117, allocations: 58.34 kB / 0.506 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1117, allocations: 0 / 0.506 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1117, allocations: 1.312 kB / 0.506 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1117, allocations: 0 / 0.506 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.43e-05/0.1118, allocations: 156 kB / 0.5062 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1118, allocations: 1.031 kB / 0.5062 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.1118, allocations: 2.625 kB / 0.5062 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1118, allocations: 1.312 kB / 0.5062 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1118, allocations: 5.25 kB / 0.5062 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1118, allocations: 4.062 kB / 0.5062 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1118, allocations: 0.9688 kB / 0.5062 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.567e-05/0.1119, allocations: 70.48 kB / 0.5062 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.1119, allocations: 82.33 kB / 0.5063 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1119, allocations: 5.125 kB / 0.5063 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.552e-05/0.1119, allocations: 1.344 kB / 0.5063 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.112, allocations: 13.06 kB / 0.5063 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.112, allocations: 1.094 kB / 0.5063 GB, free: 6.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.024e-05/0.112, allocations: 75.28 kB / 0.5064 GB, free: 6.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.112, allocations: 0 / 0.5064 GB, free: 6.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001993/0.1122, allocations: 1.125 kB / 0.5064 GB, free: 6.801 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.95e-05/0.1123, allocations: 97.59 kB / 0.5065 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.859e-05/0.1123, allocations: 14.62 kB / 0.5065 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1124, allocations: 4.125 kB / 0.5065 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.1124, allocations: 3.375 kB / 0.5065 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.1125, allocations: 6.172 kB / 0.5065 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.1127, allocations: 95.02 kB / 0.5066 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.1128, allocations: 0.6712 MB / 0.5073 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.797e-05/0.1128, allocations: 4.984 kB / 0.5073 GB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.1128, allocations: 12.84 kB / 0.5073 GB, free: 5.867 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1128, allocations: 7.938 kB / 0.5073 GB, free: 5.859 MB / 382.1 MB Notification: Performance of Templates: time 0.001801/0.1146, allocations: 190.4 kB / 0.5075 GB, free: 5.758 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)