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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001794/0.001794, allocations: 191.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4267/0.4267, allocations: 54.92 MB / 324.4 MB, free: 12 kB / 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.00135/0.00135, allocations: 67.91 kB / 394.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1234, allocations: 59.59 MB / 454.5 MB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4098/0.5332, allocations: 187.4 MB / 0.6268 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.5448, allocations: 7.171 MB / 0.6338 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.5464, allocations: 27.75 kB / 0.6339 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.5485, allocations: 0.5871 MB / 0.6344 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.5521, allocations: 1.19 MB / 0.6356 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00715/0.5592, allocations: 2.451 MB / 0.638 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.3452/0.9044, allocations: 2.577 MB / 0.6405 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/0.9065, allocations: 1.079 MB / 0.6416 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.9096, allocations: 1.165 MB / 0.6427 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.9121, allocations: 0.9836 MB / 0.6437 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005001/0.9126, allocations: 145 kB / 0.6438 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003302/0.9159, allocations: 1.038 MB / 0.6448 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005779/0.9165, allocations: 0.4883 MB / 0.6453 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.9176, allocations: 0.7308 MB / 0.646 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00373/0.9213, allocations: 2.204 MB / 0.6482 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.9213, allocations: 1.625 kB / 0.6482 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9213, allocations: 1 kB / 0.6482 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.022e-05/0.9214, allocations: 0 / 0.6482 GB, free: 3.809 MB / 0.4981 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.004757/0.9261, allocations: 1.8 MB / 0.6499 GB, free: 18.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.9262, allocations: 11.59 kB / 0.6499 GB, free: 18.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009558/0.9272, allocations: 197.6 kB / 0.6501 GB, free: 18.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.9286, allocations: 0.8903 MB / 0.651 GB, free: 18.53 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.9288, allocations: 65.64 kB / 0.6511 GB, free: 18.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.929, allocations: 70.62 kB / 0.6511 GB, free: 18.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.9319, allocations: 1.143 MB / 0.6522 GB, free: 18.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.9319, allocations: 0 / 0.6522 GB, free: 18.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.58e-05/0.932, allocations: 35.39 kB / 0.6523 GB, free: 18.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.932, allocations: 15.78 kB / 0.6523 GB, free: 18.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/0.9348, allocations: 1.017 MB / 0.6533 GB, free: 18.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005533/0.9403, allocations: 3.187 MB / 0.6564 GB, free: 17.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.943, allocations: 0.8268 MB / 0.6572 GB, free: 17.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.9437, allocations: 351.8 kB / 0.6575 GB, free: 17.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.262e-05/0.9438, allocations: 12.44 kB / 0.6575 GB, free: 17.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.9438, allocations: 39.78 kB / 0.6576 GB, free: 17.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001095/0.9449, allocations: 183.2 kB / 0.6578 GB, free: 17.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 3.357e-06/0.9449, allocations: 0 / 0.6578 GB, free: 17.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47): time 0.0053/0.9503, allocations: 1.483 MB / 0.6592 GB, free: 17.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.9504, allocations: 135.2 kB / 0.6593 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.9525, allocations: 1.199 MB / 0.6605 GB, free: 16.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.9527, allocations: 42.11 kB / 0.6605 GB, free: 16.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000413/0.9531, allocations: 493.5 kB / 0.661 GB, free: 16.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.9532, allocations: 166 kB / 0.6612 GB, free: 16.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.9536, allocations: 143.3 kB / 0.6613 GB, free: 16.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.9537, allocations: 328.9 kB / 0.6616 GB, free: 16.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.9549, allocations: 430.7 kB / 0.662 GB, free: 16.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.9562, allocations: 0.5504 MB / 0.6626 GB, free: 16.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/0.9586, allocations: 0.8853 MB / 0.6634 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.9586, allocations: 0.7969 kB / 0.6634 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003169/0.9618, allocations: 1.104 MB / 0.6645 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.9618, allocations: 7.234 kB / 0.6645 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.9618, allocations: 3.391 kB / 0.6645 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.9619, allocations: 5 kB / 0.6645 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.963, allocations: 189.7 kB / 0.6647 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.963, allocations: 6.656 kB / 0.6647 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.9649, allocations: 107 kB / 0.6648 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.9651, allocations: 33.42 kB / 0.6649 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001467/0.9665, allocations: 0.5498 MB / 0.6654 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009983/0.9676, allocations: 479.2 kB / 0.6658 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00166/0.9692, allocations: 0.7196 MB / 0.6666 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.051e-05/0.9693, allocations: 1.375 kB / 0.6666 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.00253/0.9718, allocations: 0.929 MB / 0.6675 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9718, allocations: 5.719 kB / 0.6675 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.9718, allocations: 3.438 kB / 0.6675 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.9719, allocations: 5.844 kB / 0.6675 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008421/0.9727, allocations: 155.4 kB / 0.6676 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.9727, allocations: 5.844 kB / 0.6676 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.9742, allocations: 85.66 kB / 0.6677 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.9743, allocations: 32 kB / 0.6677 GB, free: 15.48 MB / 0.5137 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.0004089/0.9747, allocations: 216.2 kB / 0.6679 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000475/0.9752, allocations: 109.4 kB / 0.6681 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.9787, allocations: 1.033 MB / 0.6691 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.9787, allocations: 6.406 kB / 0.6691 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.9787, allocations: 4.688 kB / 0.6691 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.9788, allocations: 4.047 kB / 0.6691 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006193/0.985, allocations: 2.144 MB / 0.6712 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.985, allocations: 3.438 kB / 0.6712 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.9861, allocations: 156.9 kB / 0.6713 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-05/0.9861, allocations: 5.062 kB / 0.6713 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-05/0.9862, allocations: 19.61 kB / 0.6713 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.116e-05/0.9862, allocations: 8.391 kB / 0.6714 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9862, allocations: 4.734 kB / 0.6714 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/0.9903, allocations: 1.604 MB / 0.6729 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009011/0.9912, allocations: 293.1 kB / 0.6732 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/0.9916, allocations: 18.92 kB / 0.6732 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.9932, allocations: 96.53 kB / 0.6733 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.9934, allocations: 55.91 kB / 0.6734 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.9935, allocations: 33.75 kB / 0.6734 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001366/0.9949, allocations: 0.8369 MB / 0.6742 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9949, allocations: 0.9375 kB / 0.6742 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002121/0.997, allocations: 0.5087 MB / 0.6747 GB, free: 14.19 MB / 0.5137 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.0007524/0.9978, allocations: 229.5 kB / 0.6749 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003772/1.002, allocations: 1.45 MB / 0.6763 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.002, allocations: 4.609 kB / 0.6764 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/1.003, allocations: 453.5 kB / 0.6768 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/1.006, allocations: 0.5261 MB / 0.6773 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007738/1.014, allocations: 3.017 MB / 0.6802 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009412/1.015, allocations: 1.086 MB / 0.6813 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001976/1.016, allocations: 308.7 kB / 0.6816 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005699/1.017, allocations: 106.5 kB / 0.6817 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/1.017, allocations: 0 / 0.6817 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.04583/1.063, allocations: 24.45 MB / 0.7056 GB, free: 12.69 MB / 0.5294 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)