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.001919/0.001919, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002817/0.002817, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.694/1.694, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4237/0.4237, allocations: 54.94 MB / 324.7 MB, free: 15.93 MB / 270.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.002358/0.002358, allocations: 79.88 kB / 395.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1441, allocations: 59.59 MB / 454.9 MB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4888/0.6329, allocations: 189.9 MB / 0.6297 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.6461, allocations: 7.124 MB / 0.6366 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.6479, allocations: 35.75 kB / 0.6367 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.6501, allocations: 0.6563 MB / 0.6373 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004616/0.6547, allocations: 1.272 MB / 0.6386 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.3903/1.045, allocations: 2.677 MB / 0.6412 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005303/1.05, allocations: 2.571 MB / 0.6437 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/1.053, allocations: 1.114 MB / 0.6448 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/1.055, allocations: 1.139 MB / 0.6459 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/1.057, allocations: 0.938 MB / 0.6468 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004104/1.058, allocations: 146.3 kB / 0.6469 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/1.06, allocations: 1.017 MB / 0.6479 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007016/1.061, allocations: 492.3 kB / 0.6484 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/1.063, allocations: 0.7338 MB / 0.6491 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003375/1.066, allocations: 2.168 MB / 0.6512 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.066, allocations: 0 / 0.6512 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.314e-06/1.066, allocations: 1.25 kB / 0.6512 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.537e-05/1.066, allocations: 0.875 kB / 0.6512 GB, free: 2.723 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.004302/1.07, allocations: 1.786 MB / 0.653 GB, free: 17.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.07, allocations: 10.28 kB / 0.653 GB, free: 17.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/1.072, allocations: 198.4 kB / 0.6532 GB, free: 17.81 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/1.073, allocations: 0.8943 MB / 0.6541 GB, free: 17.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/1.073, allocations: 65.58 kB / 0.6541 GB, free: 17.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/1.073, allocations: 73.78 kB / 0.6542 GB, free: 17.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/1.077, allocations: 1.139 MB / 0.6553 GB, free: 17.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/1.077, allocations: 0 / 0.6553 GB, free: 17.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.005e-05/1.077, allocations: 30.91 kB / 0.6553 GB, free: 17.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/1.077, allocations: 18.62 kB / 0.6554 GB, free: 17.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003102/1.08, allocations: 1.019 MB / 0.6563 GB, free: 17.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006625/1.087, allocations: 3.206 MB / 0.6595 GB, free: 16.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002998/1.09, allocations: 0.8274 MB / 0.6603 GB, free: 16.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/1.091, allocations: 354 kB / 0.6606 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.205e-05/1.091, allocations: 12.06 kB / 0.6606 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/1.091, allocations: 40.72 kB / 0.6607 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001345/1.092, allocations: 162.9 kB / 0.6608 GB, free: 16.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 3.577e-06/1.092, allocations: 3.938 kB / 0.6608 GB, free: 16.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47): time 0.005971/1.098, allocations: 1.48 MB / 0.6623 GB, free: 16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/1.098, allocations: 135.5 kB / 0.6624 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/1.101, allocations: 1.195 MB / 0.6636 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/1.101, allocations: 41.48 kB / 0.6636 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/1.101, allocations: 0.4909 MB / 0.6641 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/1.101, allocations: 164.6 kB / 0.6643 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/1.102, allocations: 144 kB / 0.6644 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.102, allocations: 324.8 kB / 0.6647 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/1.103, allocations: 436.1 kB / 0.6651 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/1.105, allocations: 0.5447 MB / 0.6656 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/1.108, allocations: 0.8864 MB / 0.6665 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/1.108, allocations: 0.875 kB / 0.6665 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004196/1.112, allocations: 1.107 MB / 0.6676 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/1.112, allocations: 6.531 kB / 0.6676 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/1.112, allocations: 2.344 kB / 0.6676 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/1.112, allocations: 3.844 kB / 0.6676 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/1.113, allocations: 194.9 kB / 0.6678 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/1.113, allocations: 6.734 kB / 0.6678 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/1.115, allocations: 85.5 kB / 0.6679 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-05/1.115, allocations: 32.91 kB / 0.6679 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001395/1.116, allocations: 0.5498 MB / 0.6684 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009511/1.117, allocations: 479.8 kB / 0.6689 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001615/1.119, allocations: 0.7196 MB / 0.6696 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.182e-06/1.119, allocations: 1.734 kB / 0.6696 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002655/1.122, allocations: 0.9239 MB / 0.6705 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/1.122, allocations: 7.938 kB / 0.6705 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/1.122, allocations: 4.828 kB / 0.6705 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/1.122, allocations: 6.109 kB / 0.6705 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/1.123, allocations: 150.4 kB / 0.6707 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.123, allocations: 4.562 kB / 0.6707 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/1.124, allocations: 63.48 kB / 0.6707 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/1.124, allocations: 32.19 kB / 0.6708 GB, free: 14.41 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.0004311/1.124, allocations: 211.4 kB / 0.671 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/1.125, allocations: 114.3 kB / 0.6711 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/1.128, allocations: 1.037 MB / 0.6721 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/1.128, allocations: 7.062 kB / 0.6721 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.128, allocations: 3.938 kB / 0.6721 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.128, allocations: 5.359 kB / 0.6721 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004977/1.133, allocations: 2.139 MB / 0.6742 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.133, allocations: 2.031 kB / 0.6742 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009017/1.134, allocations: 158 kB / 0.6743 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/1.134, allocations: 6.281 kB / 0.6744 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/1.134, allocations: 17.77 kB / 0.6744 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/1.134, allocations: 8.422 kB / 0.6744 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.134, allocations: 3.172 kB / 0.6744 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/1.137, allocations: 1.6 MB / 0.6759 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007147/1.138, allocations: 299.7 kB / 0.6762 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/1.138, allocations: 15.31 kB / 0.6762 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.139, allocations: 87.08 kB / 0.6763 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.14, allocations: 48.05 kB / 0.6764 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.249e-05/1.14, allocations: 33.66 kB / 0.6764 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001221/1.141, allocations: 0.8394 MB / 0.6772 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/1.141, allocations: 1.438 kB / 0.6772 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001773/1.143, allocations: 0.5079 MB / 0.6777 GB, free: 13.12 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.0007689/1.143, allocations: 250.3 kB / 0.678 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003449/1.147, allocations: 1.442 MB / 0.6794 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.147, allocations: 4.094 kB / 0.6794 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/1.148, allocations: 453.2 kB / 0.6798 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/1.151, allocations: 0.5226 MB / 0.6803 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007946/1.159, allocations: 2.681 MB / 0.6829 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/1.16, allocations: 1.097 MB / 0.684 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002128/1.162, allocations: 302.8 kB / 0.6843 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/1.163, allocations: 107.4 kB / 0.6844 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/1.163, allocations: 3.219 kB / 0.6844 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.04735/1.21, allocations: 24.67 MB / 0.7085 GB, free: 8.848 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)