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.3109/0.3109, allocations: 55.01 MB / 69.96 MB, free: 8.672 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.001159/0.001159, allocations: 191.5 kB / 83.98 MB, free: 10.84 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.625/1.625, allocations: 194.4 MB / 292.3 MB, free: 3.523 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001661/0.001661, allocations: 104.7 kB / 350.7 MB, free: 9.039 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004199, allocations: 23.98 kB / 418.9 MB, free: 37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1275, allocations: 57.64 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.287/6.414, allocations: 2.14 GB / 2.605 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/6.414, allocations: 96.56 kB / 2.605 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.14/8.555, allocations: 0.5874 GB / 3.193 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/8.555, allocations: 0 / 3.193 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002099/8.555, allocations: 31.81 kB / 3.193 GB, free: 70.34 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.006638/8.562, allocations: 1.714 MB / 3.195 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/8.562, allocations: 11.44 kB / 3.195 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/8.565, allocations: 248.1 kB / 3.195 GB, free: 69.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003327/8.568, allocations: 0.9362 MB / 3.196 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-05/8.568, allocations: 53.47 kB / 3.196 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/8.569, allocations: 73.31 kB / 3.196 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003782/8.573, allocations: 1.191 MB / 3.197 GB, free: 69.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/8.573, allocations: 0 / 3.197 GB, free: 69.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/8.573, allocations: 34.81 kB / 3.197 GB, free: 69.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/8.573, allocations: 19.06 kB / 3.197 GB, free: 69.35 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/8.576, allocations: 1.085 MB / 3.198 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006175/8.582, allocations: 3.218 MB / 3.201 GB, free: 68.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/8.584, allocations: 0.8735 MB / 3.202 GB, free: 68.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.801e-05/8.584, allocations: 14.69 kB / 3.202 GB, free: 68.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/8.584, allocations: 38.84 kB / 3.202 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001282/8.586, allocations: 244.5 kB / 3.202 GB, free: 68.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 5.871e-06/8.586, allocations: 0 / 3.202 GB, free: 68.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.005174/8.591, allocations: 1.575 MB / 3.204 GB, free: 68.08 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/8.591, allocations: 132.2 kB / 3.204 GB, free: 67.92 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/8.593, allocations: 1.063 MB / 3.205 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/8.593, allocations: 42.7 kB / 3.205 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/8.594, allocations: 0.4922 MB / 3.206 GB, free: 67.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/8.594, allocations: 161.5 kB / 3.206 GB, free: 67.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/8.594, allocations: 11.16 kB / 3.206 GB, free: 67.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/8.594, allocations: 330.8 kB / 3.206 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009476/8.595, allocations: 439 kB / 3.207 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/8.596, allocations: 0.5642 MB / 3.207 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/8.597, allocations: 482 kB / 3.208 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/8.597, allocations: 3.953 kB / 3.208 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002827/8.6, allocations: 1.142 MB / 3.209 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/8.6, allocations: 0.5308 MB / 3.209 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/8.6, allocations: 12.23 kB / 3.209 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/8.6, allocations: 6.219 kB / 3.209 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/8.601, allocations: 202.5 kB / 3.209 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/8.601, allocations: 10.62 kB / 3.209 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/8.603, allocations: 132.6 kB / 3.21 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/8.603, allocations: 32.19 kB / 3.21 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/8.603, allocations: 3.438 kB / 3.21 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001544/8.605, allocations: 0.808 MB / 3.21 GB, free: 66.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/8.605, allocations: 7.297 kB / 3.21 GB, free: 66.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/8.605, allocations: 3.469 kB / 3.21 GB, free: 66.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/8.605, allocations: 162.5 kB / 3.211 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/8.605, allocations: 6.031 kB / 3.211 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/8.607, allocations: 84.59 kB / 3.211 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/8.607, allocations: 32.86 kB / 3.211 GB, free: 66.44 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 () * Number of clocked 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.0009119/8.608, allocations: 354.2 kB / 3.211 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/8.608, allocations: 114.8 kB / 3.211 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/8.611, allocations: 1.087 MB / 3.212 GB, free: 66.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/8.611, allocations: 7.859 kB / 3.212 GB, free: 66.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/8.611, allocations: 0 / 3.212 GB, free: 66.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/8.611, allocations: 3.609 kB / 3.212 GB, free: 66.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/8.616, allocations: 2.161 MB / 3.214 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/8.616, allocations: 7.141 kB / 3.214 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008948/8.617, allocations: 172.4 kB / 3.214 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/8.617, allocations: 6.062 kB / 3.214 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/8.617, allocations: 16.52 kB / 3.214 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/8.617, allocations: 11.94 kB / 3.214 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/8.617, allocations: 2.719 kB / 3.214 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/8.62, allocations: 1.778 MB / 3.216 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009411/8.621, allocations: 316.5 kB / 3.217 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003893/8.622, allocations: 19.81 kB / 3.217 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/8.623, allocations: 111.1 kB / 3.217 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/8.623, allocations: 41.25 kB / 3.217 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/8.624, allocations: 40.42 kB / 3.217 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001566/8.625, allocations: 0.8281 MB / 3.218 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.8e-07/8.625, allocations: 0 / 3.218 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002581/8.628, allocations: 0.6732 MB / 3.218 GB, free: 65.02 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 () * Number of clocked 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.002709/8.63, allocations: 1.665 MB / 3.22 GB, free: 64.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003106/8.634, allocations: 1.413 MB / 3.221 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/8.634, allocations: 2.516 kB / 3.221 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009302/8.634, allocations: 471.2 kB / 3.222 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/8.637, allocations: 0.539 MB / 3.222 GB, free: 64.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00736/8.645, allocations: 3.083 MB / 3.225 GB, free: 63.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/8.645, allocations: 1.11 MB / 3.226 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001777/8.647, allocations: 298.6 kB / 3.227 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/8.647, allocations: 107 kB / 3.227 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of SimCode: time 1.673e-06/8.647, allocations: 0 / 3.227 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.06364/8.711, allocations: 41.81 MB / 3.267 GB, free: 60.76 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)