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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 104.4 kB / 16.4 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 190.8 kB / 19.35 MB, free: 3.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.1 MB / 227.2 MB, free: 12.15 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3043/0.3043, allocations: 54.95 MB / 331.6 MB, free: 2.844 MB / 270.1 MB " [Timeout remaining time 179] 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.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox") [Timeout 660] "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.002164/0.002164, allocations: 71.89 kB / 464.9 MB, free: 360 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1824, allocations: 59.6 MB / 0.5122 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6449/0.8274, allocations: 189.9 MB / 0.6977 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.015/0.8425, allocations: 7.12 MB / 0.7046 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.8446, allocations: 35.75 kB / 0.7046 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.8475, allocations: 0.6641 MB / 0.7053 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.8526, allocations: 1.271 MB / 0.7065 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008527/0.8612, allocations: 2.692 MB / 0.7092 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004803/0.866, allocations: 2.569 MB / 0.7117 GB, free: 3.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.868, allocations: 1.112 MB / 0.7128 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.8707, allocations: 1.137 MB / 0.7139 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.8726, allocations: 0.9573 MB / 0.7148 GB, free: 192 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003205/0.8729, allocations: 144 kB / 0.7149 GB, free: 48 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.8754, allocations: 1.021 MB / 0.7159 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000649/0.8761, allocations: 490.6 kB / 0.7164 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.8773, allocations: 0.7232 MB / 0.7171 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.8808, allocations: 2.195 MB / 0.7193 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.8809, allocations: 0 / 0.7193 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8809, allocations: 0 / 0.7193 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.585e-05/0.8809, allocations: 0 / 0.7193 GB, free: 11.62 MB / 0.5606 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.004498/0.8854, allocations: 1.84 MB / 0.721 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.8855, allocations: 12.03 kB / 0.7211 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009298/0.8864, allocations: 195.1 kB / 0.7212 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.8881, allocations: 0.9401 MB / 0.7222 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-05/0.8882, allocations: 61.88 kB / 0.7222 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.8883, allocations: 72 kB / 0.7223 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003195/0.8915, allocations: 1.139 MB / 0.7234 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.8916, allocations: 0 / 0.7234 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-05/0.8917, allocations: 32 kB / 0.7234 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.8917, allocations: 16 kB / 0.7234 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003057/0.8948, allocations: 1.003 MB / 0.7244 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006284/0.9011, allocations: 3.21 MB / 0.7276 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.9037, allocations: 0.8123 MB / 0.7284 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007317/0.9045, allocations: 354 kB / 0.7287 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.9045, allocations: 16.89 kB / 0.7287 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.9046, allocations: 39 kB / 0.7287 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008815/0.9055, allocations: 163.4 kB / 0.7289 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 3.727e-06/0.9055, allocations: 0 / 0.7289 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.005261/0.9108, allocations: 1.486 MB / 0.7304 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.9109, allocations: 137 kB / 0.7305 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.913, allocations: 1.209 MB / 0.7317 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.9132, allocations: 37.7 kB / 0.7317 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/0.9137, allocations: 0.4938 MB / 0.7322 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.9139, allocations: 162.6 kB / 0.7323 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.9142, allocations: 146.1 kB / 0.7325 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.9144, allocations: 338 kB / 0.7328 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.9155, allocations: 426.8 kB / 0.7332 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.9168, allocations: 0.5456 MB / 0.7337 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.9191, allocations: 0.8782 MB / 0.7346 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.9191, allocations: 3.938 kB / 0.7346 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003352/0.9225, allocations: 1.103 MB / 0.7357 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.9225, allocations: 4 kB / 0.7357 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.9225, allocations: 8.062 kB / 0.7357 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.9226, allocations: 4 kB / 0.7357 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.9237, allocations: 191.7 kB / 0.7359 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.9237, allocations: 7.984 kB / 0.7359 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.9254, allocations: 87.91 kB / 0.736 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/0.9255, allocations: 32.08 kB / 0.736 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001303/0.9268, allocations: 0.5517 MB / 0.7365 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008806/0.9277, allocations: 475 kB / 0.737 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001522/0.9292, allocations: 0.7281 MB / 0.7377 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/0.9292, allocations: 0 / 0.7377 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002243/0.9315, allocations: 0.9219 MB / 0.7386 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9315, allocations: 8 kB / 0.7386 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.9315, allocations: 0 / 0.7386 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.9315, allocations: 4 kB / 0.7386 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007934/0.9323, allocations: 155.9 kB / 0.7388 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.9324, allocations: 11.98 kB / 0.7388 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.9335, allocations: 59.84 kB / 0.7388 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.9336, allocations: 35.91 kB / 0.7389 GB, free: 6.957 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003693/0.934, allocations: 213.6 kB / 0.7391 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.9343, allocations: 119.2 kB / 0.7392 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/0.9372, allocations: 1.03 MB / 0.7402 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.9372, allocations: 4 kB / 0.7402 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.9373, allocations: 4.609 kB / 0.7402 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.9373, allocations: 3.938 kB / 0.7402 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004144/0.9414, allocations: 2.13 MB / 0.7423 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.9414, allocations: 7.938 kB / 0.7423 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008749/0.9423, allocations: 163.4 kB / 0.7424 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.9423, allocations: 4 kB / 0.7424 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-05/0.9424, allocations: 19.94 kB / 0.7425 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.9424, allocations: 12.14 kB / 0.7425 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9424, allocations: 0 / 0.7425 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003795/0.9462, allocations: 1.607 MB / 0.744 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006141/0.9469, allocations: 308.3 kB / 0.7443 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.947, allocations: 12 kB / 0.7444 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.9482, allocations: 79.91 kB / 0.7444 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.9483, allocations: 56.25 kB / 0.7445 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/0.9484, allocations: 31.97 kB / 0.7445 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001302/0.9497, allocations: 0.8449 MB / 0.7453 GB, free: 168 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9498, allocations: 0 / 0.7453 GB, free: 168 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001566/0.9513, allocations: 0.511 MB / 0.7458 GB, free: 15.65 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006714/0.952, allocations: 237.3 kB / 0.7461 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003639/0.9557, allocations: 1.387 MB / 0.7474 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.9557, allocations: 4 kB / 0.7474 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.9568, allocations: 447.1 kB / 0.7478 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.9595, allocations: 0.5215 MB / 0.7484 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008368/0.9679, allocations: 2.685 MB / 0.751 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.9691, allocations: 1.089 MB / 0.752 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001656/0.9707, allocations: 312.1 kB / 0.7523 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000402/0.9712, allocations: 103.4 kB / 0.7524 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/0.9712, allocations: 0 / 0.7524 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of Templates: time 0.3601/1.331, allocations: 24.8 MB / 0.7767 GB, free: 208.8 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.459071980789304]