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.0008758/0.0008752, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005928/0.005928, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.62/1.62, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4326/0.4326, allocations: 55.01 MB / 325.7 MB, free: 0.582 MB / 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.0007248/0.0007251, allocations: 16 kB / 397.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.416, allocations: 60.72 MB / 458 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2152/0.6313, allocations: 185.2 MB / 0.6281 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.6443, allocations: 7.474 MB / 0.6354 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.646, allocations: 35.69 kB / 0.6354 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.6484, allocations: 0.5636 MB / 0.6359 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00399/0.6524, allocations: 1.195 MB / 0.6371 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008387/0.6608, allocations: 2.221 MB / 0.6393 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.3437/1.005, allocations: 3.311 MB / 0.6425 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/1.006, allocations: 0.9215 MB / 0.6434 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/1.008, allocations: 0.9908 MB / 0.6444 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/1.01, allocations: 0.9046 MB / 0.6453 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001891/1.01, allocations: 67.78 kB / 0.6453 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/1.012, allocations: 1.038 MB / 0.6463 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005271/1.012, allocations: 405.2 kB / 0.6467 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009781/1.013, allocations: 0.6611 MB / 0.6474 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003136/1.016, allocations: 2.111 MB / 0.6494 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/1.016, allocations: 0 / 0.6494 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/1.016, allocations: 1.969 kB / 0.6494 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.099e-05/1.017, allocations: 0 / 0.6494 GB, free: 3.824 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.003965/1.02, allocations: 1.537 MB / 0.6509 GB, free: 19 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.021, allocations: 12.16 kB / 0.651 GB, free: 19 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009279/1.021, allocations: 197.8 kB / 0.6511 GB, free: 18.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/1.023, allocations: 0.8948 MB / 0.652 GB, free: 18.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/1.023, allocations: 66.81 kB / 0.6521 GB, free: 18.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/1.023, allocations: 72.34 kB / 0.6521 GB, free: 18.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/1.026, allocations: 1.189 MB / 0.6533 GB, free: 18.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/1.026, allocations: 0 / 0.6533 GB, free: 18.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.531e-05/1.027, allocations: 35.47 kB / 0.6533 GB, free: 18.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/1.027, allocations: 16.14 kB / 0.6534 GB, free: 18.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/1.03, allocations: 1.071 MB / 0.6544 GB, free: 18.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005476/1.035, allocations: 3.221 MB / 0.6575 GB, free: 17.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/1.038, allocations: 0.8681 MB / 0.6584 GB, free: 17.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007784/1.039, allocations: 365.2 kB / 0.6587 GB, free: 17.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/1.039, allocations: 11.95 kB / 0.6588 GB, free: 17.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/1.039, allocations: 40.88 kB / 0.6588 GB, free: 17.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001106/1.04, allocations: 178.5 kB / 0.659 GB, free: 17.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 3.807e-06/1.04, allocations: 0.75 kB / 0.659 GB, free: 17.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47): time 0.005851/1.046, allocations: 1.597 MB / 0.6605 GB, free: 17.03 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/1.046, allocations: 138.4 kB / 0.6607 GB, free: 16.87 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/1.048, allocations: 1.198 MB / 0.6618 GB, free: 16.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/1.048, allocations: 37.77 kB / 0.6619 GB, free: 16.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/1.049, allocations: 498.8 kB / 0.6623 GB, free: 16.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/1.049, allocations: 167.5 kB / 0.6625 GB, free: 16.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/1.049, allocations: 55.66 kB / 0.6626 GB, free: 16.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.049, allocations: 326.8 kB / 0.6629 GB, free: 16.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/1.051, allocations: 451.2 kB / 0.6633 GB, free: 16.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/1.052, allocations: 0.5759 MB / 0.6639 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/1.055, allocations: 0.9432 MB / 0.6648 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.055, allocations: 0 / 0.6648 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003307/1.058, allocations: 1.153 MB / 0.6659 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/1.058, allocations: 127.3 kB / 0.666 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/1.058, allocations: 9.25 kB / 0.666 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/1.058, allocations: 3.75 kB / 0.666 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.06, allocations: 209 kB / 0.6662 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.06, allocations: 4.688 kB / 0.6662 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/1.061, allocations: 123.6 kB / 0.6664 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/1.061, allocations: 42.92 kB / 0.6664 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/1.061, allocations: 4.375 kB / 0.6664 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001943/1.063, allocations: 0.8137 MB / 0.6672 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.063, allocations: 9.391 kB / 0.6672 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/1.063, allocations: 11.67 kB / 0.6672 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/1.064, allocations: 155.9 kB / 0.6674 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.064, allocations: 4.266 kB / 0.6674 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/1.065, allocations: 78.84 kB / 0.6674 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/1.065, allocations: 30.02 kB / 0.6675 GB, free: 15.59 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.0008204/1.066, allocations: 361.7 kB / 0.6678 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/1.067, allocations: 122.4 kB / 0.6679 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/1.07, allocations: 1.078 MB / 0.669 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.07, allocations: 5.625 kB / 0.669 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/1.07, allocations: 1.562 kB / 0.669 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.07, allocations: 3.969 kB / 0.669 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/1.074, allocations: 2.198 MB / 0.6711 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/1.074, allocations: 2.938 kB / 0.6711 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009896/1.075, allocations: 168.4 kB / 0.6713 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/1.075, allocations: 8.344 kB / 0.6713 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/1.075, allocations: 15.69 kB / 0.6713 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.437e-05/1.075, allocations: 10.27 kB / 0.6713 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/1.075, allocations: 4.25 kB / 0.6713 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/1.079, allocations: 1.682 MB / 0.673 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006525/1.08, allocations: 304.6 kB / 0.6733 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/1.08, allocations: 20.52 kB / 0.6733 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.082, allocations: 118.8 kB / 0.6734 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.082, allocations: 43.73 kB / 0.6735 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.082, allocations: 31.98 kB / 0.6735 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001501/1.083, allocations: 0.8398 MB / 0.6743 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.51e-07/1.083, allocations: 0.5938 kB / 0.6743 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001952/1.085, allocations: 0.5087 MB / 0.6748 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.0005982/1.086, allocations: 229.8 kB / 0.675 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003548/1.09, allocations: 1.454 MB / 0.6764 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.09, allocations: 3.75 kB / 0.6764 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/1.091, allocations: 484 kB / 0.6769 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/1.094, allocations: 0.5555 MB / 0.6774 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008372/1.102, allocations: 3.214 MB / 0.6806 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007002/1.103, allocations: 1.09 MB / 0.6817 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001678/1.105, allocations: 304.4 kB / 0.6819 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/1.105, allocations: 109 kB / 0.682 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/1.105, allocations: 0 / 0.682 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.04235/1.147, allocations: 23.67 MB / 0.7052 GB, free: 15.2 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: