Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2967/0.2967, allocations: 54.42 MB / 61.89 MB, free: 13.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.000995/0.0009949, allocations: 179.6 kB / 75.6 MB, free: 0.7734 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.376/1.376, allocations: 194.3 MB / 283.5 MB, free: 14.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001573/0.001573, allocations: 108.3 kB / 341.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.537e-05, allocations: 4 kB / 405.5 MB, free: 4.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2945, allocations: 57.64 MB / 463.1 MB, free: 51.78 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.544/5.839, allocations: 2.139 GB / 2.592 GB, free: 131 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/5.839, allocations: 90.02 kB / 2.592 GB, free: 131 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.323/8.162, allocations: 0.5798 GB / 3.171 GB, free: 60.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.873e-06/8.162, allocations: 0 / 3.171 GB, free: 60.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002171/8.162, allocations: 31.05 kB / 3.172 GB, free: 60.87 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.005237/8.168, allocations: 1.411 MB / 3.173 GB, free: 60.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/8.168, allocations: 11.69 kB / 3.173 GB, free: 60.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/8.171, allocations: 247.9 kB / 3.173 GB, free: 60.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/8.173, allocations: 0.9342 MB / 3.174 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/8.173, allocations: 22.09 kB / 3.174 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/8.174, allocations: 44.42 kB / 3.174 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00119/8.175, allocations: 0.6967 MB / 3.175 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/8.176, allocations: 0.7717 MB / 3.176 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/8.176, allocations: 0 / 3.176 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.578e-05/8.176, allocations: 6.328 kB / 3.176 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/8.176, allocations: 16.94 kB / 3.176 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005237/8.182, allocations: 3.028 MB / 3.179 GB, free: 58.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007384/8.182, allocations: 0.5383 MB / 3.179 GB, free: 58.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/8.183, allocations: 306.6 kB / 3.179 GB, free: 58.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.858e-05/8.183, allocations: 19.94 kB / 3.179 GB, free: 58.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/8.183, allocations: 39.59 kB / 3.179 GB, free: 58.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009518/8.184, allocations: 214.8 kB / 3.18 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 2.475e-06/8.184, allocations: 5.438 kB / 3.18 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47): time 0.002006/8.186, allocations: 0.8231 MB / 3.18 GB, free: 58.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/8.186, allocations: 134.6 kB / 3.181 GB, free: 58.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/8.187, allocations: 0.8343 MB / 3.181 GB, free: 58.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/8.187, allocations: 29.48 kB / 3.181 GB, free: 58.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/8.187, allocations: 0.5055 MB / 3.182 GB, free: 58.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/8.188, allocations: 160.4 kB / 3.182 GB, free: 58.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/8.188, allocations: 0 / 3.182 GB, free: 58.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/8.188, allocations: 328.7 kB / 3.182 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/8.188, allocations: 304 kB / 3.183 GB, free: 57.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/8.189, allocations: 430.3 kB / 3.183 GB, free: 57.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/8.189, allocations: 349.5 kB / 3.183 GB, free: 57.58 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/8.189, allocations: 0 / 3.183 GB, free: 57.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001273/8.191, allocations: 0.8413 MB / 3.184 GB, free: 57.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/8.191, allocations: 0.5303 MB / 3.185 GB, free: 56.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/8.191, allocations: 5.172 kB / 3.185 GB, free: 56.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/8.191, allocations: 3.906 kB / 3.185 GB, free: 56.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009921/8.192, allocations: 212.1 kB / 3.185 GB, free: 56.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/8.192, allocations: 3.531 kB / 3.185 GB, free: 56.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/8.193, allocations: 113.2 kB / 3.185 GB, free: 56.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/8.193, allocations: 39.86 kB / 3.185 GB, free: 56.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/8.193, allocations: 6.594 kB / 3.185 GB, free: 56.93 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001063/8.194, allocations: 0.6562 MB / 3.186 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/8.194, allocations: 3.156 kB / 3.186 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/8.194, allocations: 5.781 kB / 3.186 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/8.195, allocations: 160.7 kB / 3.186 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/8.195, allocations: 6.859 kB / 3.186 GB, free: 56.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000918/8.196, allocations: 69.8 kB / 3.186 GB, free: 56.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/8.196, allocations: 40.02 kB / 3.186 GB, free: 56.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0002115/8.196, allocations: 115.9 kB / 3.186 GB, free: 56.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/8.196, allocations: 95.97 kB / 3.186 GB, free: 56.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/8.198, allocations: 0.7786 MB / 3.187 GB, free: 56.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/8.198, allocations: 7.031 kB / 3.187 GB, free: 56.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/8.198, allocations: 0 / 3.187 GB, free: 56.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/8.198, allocations: 7.234 kB / 3.187 GB, free: 56.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/8.201, allocations: 1.772 MB / 3.189 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/8.201, allocations: 5.688 kB / 3.189 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008493/8.202, allocations: 173 kB / 3.189 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/8.202, allocations: 3.219 kB / 3.189 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/8.202, allocations: 14.64 kB / 3.189 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/8.202, allocations: 7.75 kB / 3.189 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/8.202, allocations: 9.172 kB / 3.189 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/8.204, allocations: 1.32 MB / 3.19 GB, free: 55.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/8.204, allocations: 293.3 kB / 3.19 GB, free: 55.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/8.204, allocations: 2.719 kB / 3.19 GB, free: 55.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/8.205, allocations: 104.8 kB / 3.191 GB, free: 55.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/8.206, allocations: 52.19 kB / 3.191 GB, free: 55.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.154e-05/8.206, allocations: 41.08 kB / 3.191 GB, free: 55.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009884/8.207, allocations: 0.6425 MB / 3.191 GB, free: 55.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.207, allocations: 0 / 3.191 GB, free: 55.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002228/8.209, allocations: 0.6113 MB / 3.192 GB, free: 55.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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 0.002914/8.212, allocations: 1.859 MB / 3.194 GB, free: 55.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001705/8.214, allocations: 1.102 MB / 3.195 GB, free: 55.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/8.214, allocations: 0 / 3.195 GB, free: 55.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000432/8.214, allocations: 321.6 kB / 3.195 GB, free: 55.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/8.216, allocations: 400.6 kB / 3.195 GB, free: 55.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00792/8.224, allocations: 2.184 MB / 3.198 GB, free: 54.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/8.226, allocations: 1.111 MB / 3.199 GB, free: 53.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003047/8.229, allocations: 356.6 kB / 3.199 GB, free: 53.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/8.229, allocations: 80.23 kB / 3.199 GB, free: 53.87 MB / 0.4948 GB Notification: Performance of SimCode: time 1.994e-06/8.229, allocations: 0 / 3.199 GB, free: 53.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.05443/8.284, allocations: 29.16 MB / 3.228 GB, free: 52.11 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)