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.001176/0.001176, allocations: 100 kB / 15.05 MB, free: 1.105 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.00126/0.00126, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3622/0.3622, allocations: 54.98 MB / 325.4 MB, free: 0.6641 MB / 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.0005548/0.0005549, allocations: 20 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2924, allocations: 60.71 MB / 457.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example8): time 0.0004585/0.2929, allocations: 243.4 kB / 457.5 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 9.047e-05/0.293, allocations: 15.31 kB / 457.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.906e-05/0.293, allocations: 0 / 457.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.056e-05/0.2931, allocations: 0.6562 kB / 457.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.999e-05/0.2932, allocations: 2.688 kB / 457.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.425e-06/0.2932, allocations: 0.9062 kB / 457.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.959e-05/0.2932, allocations: 3.938 kB / 457.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.2933, allocations: 7.891 kB / 457.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.2933, allocations: 0 / 457.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.477e-05/0.2933, allocations: 2.5 kB / 457.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.2933, allocations: 2.719 kB / 457.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-06/0.2934, allocations: 3.031 kB / 457.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-06/0.2934, allocations: 2.953 kB / 457.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.043e-05/0.2934, allocations: 27.42 kB / 457.6 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 2.113e-05/0.2934, allocations: 0 / 457.6 MB, free: 38.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.2934, allocations: 0 / 457.6 MB, free: 38.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2934, allocations: 0 / 457.6 MB, free: 38.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.2934, allocations: 0 / 457.6 MB, free: 38.68 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.0001394/0.2936, allocations: 308.8 kB / 457.9 MB, free: 38.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.2936, allocations: 10.22 kB / 457.9 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.2936, allocations: 4.938 kB / 457.9 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.479e-05/0.2937, allocations: 164.4 kB / 458.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2937, allocations: 6.531 kB / 458.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.2937, allocations: 0 / 458.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.758e-05/0.2938, allocations: 46.33 kB / 458.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2938, allocations: 3.281 kB / 458.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.2938, allocations: 0 / 458.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2938, allocations: 2.469 kB / 458.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.946e-05/0.2939, allocations: 5.062 kB / 458.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.379e-05/0.294, allocations: 155.7 kB / 458.3 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.634e-05/0.294, allocations: 40.7 kB / 458.3 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.294, allocations: 1.062 kB / 458.3 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.2941, allocations: 37.75 kB / 458.4 MB, free: 37.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.2941, allocations: 2.859 kB / 458.4 MB, free: 37.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001114/0.2942, allocations: 44.83 kB / 458.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.2942, allocations: 83.14 kB / 458.5 MB, free: 37.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.634e-05/0.2942, allocations: 89.86 kB / 458.6 MB, free: 37.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.2942, allocations: 25.7 kB / 458.6 MB, free: 37.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.043e-05/0.2943, allocations: 86.34 kB / 458.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.2943, allocations: 10.62 kB / 458.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.2943, allocations: 0.8125 kB / 458.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.527e-05/0.2943, allocations: 314.8 kB / 459 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-06/0.2943, allocations: 6.688 kB / 459 MB, free: 37.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.2944, allocations: 18 kB / 459 MB, free: 37.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.748e-05/0.2944, allocations: 3.938 kB / 459 MB, free: 37.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2944, allocations: 0.5938 kB / 459 MB, free: 37.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.763e-05/0.2944, allocations: 43.81 kB / 459.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.2945, allocations: 5.781 kB / 459.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2945, allocations: 1.016 kB / 459.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2945, allocations: 2.109 kB / 459.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.2946, allocations: 3.531 kB / 459.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2946, allocations: 4.281 kB / 459.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.2946, allocations: 0.9375 kB / 459.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.2946, allocations: 0 / 459.1 MB, free: 37.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.2946, allocations: 117.5 kB / 459.2 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.2947, allocations: 2.938 kB / 459.2 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.196e-05/0.2947, allocations: 51.8 kB / 459.3 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2948, allocations: 1 kB / 459.3 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2948, allocations: 2.781 kB / 459.3 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2948, allocations: 0.8438 kB / 459.3 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.245e-05/0.2948, allocations: 149.3 kB / 459.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2948, allocations: 3.188 kB / 459.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.2949, allocations: 3.281 kB / 459.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2949, allocations: 0.625 kB / 459.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.2949, allocations: 6.906 kB / 459.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2949, allocations: 0.5625 kB / 459.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.2949, allocations: 3.938 kB / 459.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.72e-05/0.295, allocations: 87.81 kB / 459.5 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.295, allocations: 77.77 kB / 459.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.295, allocations: 3.734 kB / 459.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.295, allocations: 1.531 kB / 459.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.295, allocations: 3.188 kB / 459.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.295, allocations: 3.031 kB / 459.6 MB, free: 36.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.193e-05/0.2951, allocations: 78.44 kB / 459.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2951, allocations: 0 / 459.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001793/0.2952, allocations: 3.281 kB / 459.7 MB, free: 36.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.678e-05/0.2953, allocations: 96.72 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.078e-05/0.2954, allocations: 9.281 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2954, allocations: 3.688 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.657e-06/0.2954, allocations: 5.75 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.462e-05/0.2955, allocations: 16.17 kB / 459.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001427/0.2957, allocations: 90.83 kB / 459.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.039e-05/0.2957, allocations: 0.6753 MB / 460.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.548e-05/0.2958, allocations: 3.219 kB / 460.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.2958, allocations: 10.53 kB / 460.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2958, allocations: 0 / 460.6 MB, free: 35.58 MB / 382.1 MB Notification: Performance of Templates: time 0.001669/0.2975, allocations: 175.3 kB / 460.8 MB, free: 35.57 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: