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.2914/0.2914, allocations: 54.33 MB / 66.89 MB, free: 6.102 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.0009943/0.0009944, allocations: 180.4 kB / 80.7 MB, free: 15.41 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.426/1.426, allocations: 194.2 MB / 288.6 MB, free: 15.08 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.0017/0.0017, allocations: 115.9 kB / 346.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.695e-05/2.698e-05, allocations: 7.984 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 57.64 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.791/5.896, allocations: 2.14 GB / 2.599 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/5.896, allocations: 90.78 kB / 2.599 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.267/8.163, allocations: 0.5869 GB / 3.186 GB, free: 71.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.546e-06/8.163, allocations: 2.438 kB / 3.186 GB, free: 71.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001192/8.163, allocations: 27.89 kB / 3.186 GB, free: 71.25 MB / 0.5105 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.003985/8.167, allocations: 1.413 MB / 3.187 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/8.167, allocations: 9.594 kB / 3.187 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/8.169, allocations: 242 kB / 3.188 GB, free: 70.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/8.171, allocations: 0.931 MB / 3.188 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/8.171, allocations: 54.03 kB / 3.188 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/8.171, allocations: 78.38 kB / 3.189 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/8.174, allocations: 1.047 MB / 3.19 GB, free: 70.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/8.174, allocations: 2.438 kB / 3.19 GB, free: 70.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/8.174, allocations: 33 kB / 3.19 GB, free: 70.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/8.174, allocations: 23.09 kB / 3.19 GB, free: 70.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/8.176, allocations: 0.8938 MB / 3.19 GB, free: 70.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005809/8.182, allocations: 3.224 MB / 3.194 GB, free: 69.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/8.184, allocations: 0.715 MB / 3.194 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/8.185, allocations: 316.2 kB / 3.195 GB, free: 69.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/8.185, allocations: 21.11 kB / 3.195 GB, free: 69.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/8.185, allocations: 50.94 kB / 3.195 GB, free: 69 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001173/8.186, allocations: 239.8 kB / 3.195 GB, free: 68.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 6.342e-06/8.186, allocations: 3.656 kB / 3.195 GB, free: 68.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.003023/8.189, allocations: 1.016 MB / 3.196 GB, free: 68.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/8.189, allocations: 133.6 kB / 3.196 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/8.19, allocations: 1.057 MB / 3.197 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.531e-05/8.191, allocations: 39.3 kB / 3.197 GB, free: 68.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/8.191, allocations: 497.6 kB / 3.198 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/8.191, allocations: 164.9 kB / 3.198 GB, free: 68.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/8.191, allocations: 13.66 kB / 3.198 GB, free: 68.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.524e-05/8.191, allocations: 336.7 kB / 3.198 GB, free: 68.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/8.192, allocations: 306.7 kB / 3.198 GB, free: 68.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/8.192, allocations: 447.3 kB / 3.199 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/8.193, allocations: 344.4 kB / 3.199 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/8.193, allocations: 7.219 kB / 3.199 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001318/8.194, allocations: 0.8786 MB / 3.2 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/8.194, allocations: 0.5301 MB / 3.201 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/8.194, allocations: 7.781 kB / 3.201 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/8.194, allocations: 3.938 kB / 3.201 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/8.195, allocations: 206.8 kB / 3.201 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/8.195, allocations: 10.44 kB / 3.201 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/8.197, allocations: 120.8 kB / 3.201 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.905e-05/8.197, allocations: 42.67 kB / 3.201 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/8.197, allocations: 5.656 kB / 3.201 GB, free: 67.26 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001059/8.198, allocations: 0.7063 MB / 3.202 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/8.198, allocations: 10.48 kB / 3.202 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/8.198, allocations: 3.625 kB / 3.202 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/8.198, allocations: 159.3 kB / 3.202 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/8.199, allocations: 5.375 kB / 3.202 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/8.199, allocations: 84.58 kB / 3.202 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/8.2, allocations: 36.44 kB / 3.202 GB, free: 67.23 MB / 0.5105 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.0002154/8.2, allocations: 133.7 kB / 3.202 GB, free: 67.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/8.2, allocations: 115.1 kB / 3.202 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/8.201, allocations: 0.8378 MB / 3.203 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/8.201, allocations: 7.125 kB / 3.203 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/8.201, allocations: 0 / 3.203 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/8.201, allocations: 0 / 3.203 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/8.204, allocations: 1.91 MB / 3.205 GB, free: 66.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/8.204, allocations: 3.938 kB / 3.205 GB, free: 66.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008097/8.205, allocations: 172.4 kB / 3.205 GB, free: 66.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/8.205, allocations: 7.812 kB / 3.205 GB, free: 66.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/8.205, allocations: 18.38 kB / 3.205 GB, free: 66.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/8.205, allocations: 9.656 kB / 3.205 GB, free: 66.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/8.205, allocations: 3.562 kB / 3.205 GB, free: 66.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/8.207, allocations: 1.384 MB / 3.206 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/8.207, allocations: 314.7 kB / 3.207 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/8.207, allocations: 13.81 kB / 3.207 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/8.208, allocations: 115 kB / 3.207 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/8.209, allocations: 48.36 kB / 3.207 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.6e-05/8.209, allocations: 34.53 kB / 3.207 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001085/8.21, allocations: 0.821 MB / 3.208 GB, free: 65.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/8.21, allocations: 0 / 3.208 GB, free: 65.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002331/8.212, allocations: 0.6657 MB / 3.208 GB, free: 65.88 MB / 0.5105 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.002526/8.215, allocations: 1.662 MB / 3.21 GB, free: 65.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00182/8.216, allocations: 1.153 MB / 3.211 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/8.216, allocations: 0 / 3.211 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004925/8.217, allocations: 338.2 kB / 3.211 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/8.22, allocations: 0.5451 MB / 3.212 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006241/8.226, allocations: 2.238 MB / 3.214 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/8.227, allocations: 1.114 MB / 3.215 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002124/8.229, allocations: 420.3 kB / 3.216 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/8.229, allocations: 80.94 kB / 3.216 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of SimCode: time 1.463e-06/8.229, allocations: 0 / 3.216 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of Templates: time 0.06837/8.297, allocations: 47.76 MB / 3.262 GB, free: 58.44 MB / 0.5105 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)