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.001566/0.001566, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001962/0.001962, allocations: 194.3 kB / 16.14 MB, free: 6.707 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.584/1.584, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4146/0.4146, allocations: 54.93 MB / 324.3 MB, free: 168 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.002089/0.002089, allocations: 67.91 kB / 394.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1593, allocations: 59.58 MB / 454.3 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4769/0.6362, allocations: 187.6 MB / 0.6269 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01408/0.6503, allocations: 7.555 MB / 0.6342 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.652, allocations: 35.69 kB / 0.6343 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.654, allocations: 0.5636 MB / 0.6348 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003839/0.6578, allocations: 1.199 MB / 0.636 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007369/0.6652, allocations: 2.222 MB / 0.6382 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.4256/1.091, allocations: 3.317 MB / 0.6414 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/1.093, allocations: 0.9457 MB / 0.6423 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/1.095, allocations: 0.9989 MB / 0.6433 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/1.097, allocations: 0.9436 MB / 0.6442 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/1.097, allocations: 70.19 kB / 0.6443 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/1.099, allocations: 1.044 MB / 0.6453 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/1.099, allocations: 420.5 kB / 0.6457 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009118/1.1, allocations: 0.6516 MB / 0.6463 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00297/1.103, allocations: 2.149 MB / 0.6484 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.103, allocations: 1.594 kB / 0.6484 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/1.103, allocations: 0 / 0.6484 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.841e-05/1.103, allocations: 0 / 0.6484 GB, free: 3.613 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.005154/1.109, allocations: 1.801 MB / 0.6502 GB, free: 18.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.109, allocations: 9.156 kB / 0.6502 GB, free: 18.76 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/1.11, allocations: 191 kB / 0.6504 GB, free: 18.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/1.111, allocations: 0.8927 MB / 0.6513 GB, free: 18.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/1.112, allocations: 73.88 kB / 0.6513 GB, free: 18.33 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/1.112, allocations: 73.47 kB / 0.6514 GB, free: 18.33 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003322/1.115, allocations: 1.137 MB / 0.6525 GB, free: 18.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/1.115, allocations: 0 / 0.6525 GB, free: 18.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.239e-05/1.115, allocations: 29.41 kB / 0.6525 GB, free: 18.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/1.115, allocations: 18.48 kB / 0.6526 GB, free: 18.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/1.119, allocations: 1.012 MB / 0.6536 GB, free: 18.22 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006997/1.126, allocations: 3.197 MB / 0.6567 GB, free: 17.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/1.129, allocations: 0.8284 MB / 0.6575 GB, free: 17.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008473/1.129, allocations: 349.9 kB / 0.6578 GB, free: 17.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.427e-05/1.129, allocations: 15.48 kB / 0.6578 GB, free: 17.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/1.129, allocations: 43.94 kB / 0.6579 GB, free: 16.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001357/1.131, allocations: 178 kB / 0.658 GB, free: 16.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 5.52e-06/1.131, allocations: 1.281 kB / 0.658 GB, free: 16.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47): time 0.006159/1.137, allocations: 1.486 MB / 0.6595 GB, free: 16.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.137, allocations: 135.1 kB / 0.6596 GB, free: 16.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002601/1.14, allocations: 1.198 MB / 0.6608 GB, free: 16.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/1.14, allocations: 40.06 kB / 0.6608 GB, free: 16.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/1.141, allocations: 495.4 kB / 0.6613 GB, free: 16.34 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/1.141, allocations: 163.9 kB / 0.6615 GB, free: 16.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/1.141, allocations: 145.6 kB / 0.6616 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.141, allocations: 330.1 kB / 0.6619 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/1.143, allocations: 433.9 kB / 0.6623 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/1.144, allocations: 0.5464 MB / 0.6629 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/1.147, allocations: 0.8838 MB / 0.6637 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.147, allocations: 1.062 kB / 0.6637 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003445/1.15, allocations: 1.103 MB / 0.6648 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/1.15, allocations: 5.062 kB / 0.6648 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/1.15, allocations: 4.031 kB / 0.6648 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/1.15, allocations: 3.75 kB / 0.6648 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.151, allocations: 197.2 kB / 0.665 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/1.151, allocations: 4.016 kB / 0.665 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/1.153, allocations: 103.4 kB / 0.6651 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/1.153, allocations: 34.2 kB / 0.6651 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001362/1.155, allocations: 0.5482 MB / 0.6657 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001045/1.156, allocations: 481.1 kB / 0.6661 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001711/1.157, allocations: 0.7219 MB / 0.6668 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/1.157, allocations: 0 / 0.6668 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002414/1.16, allocations: 0.9255 MB / 0.6677 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.16, allocations: 5.938 kB / 0.6678 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/1.16, allocations: 4.344 kB / 0.6678 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/1.16, allocations: 7.531 kB / 0.6678 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/1.161, allocations: 155.2 kB / 0.6679 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.161, allocations: 8.406 kB / 0.6679 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/1.162, allocations: 81.94 kB / 0.668 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.859e-05/1.162, allocations: 33.14 kB / 0.668 GB, free: 15.16 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.000492/1.163, allocations: 214 kB / 0.6682 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/1.163, allocations: 111.6 kB / 0.6683 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/1.166, allocations: 1.031 MB / 0.6693 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.166, allocations: 5.531 kB / 0.6693 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.166, allocations: 5.641 kB / 0.6694 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.166, allocations: 8.047 kB / 0.6694 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004729/1.171, allocations: 2.134 MB / 0.6714 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.171, allocations: 2.562 kB / 0.6714 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/1.172, allocations: 160.7 kB / 0.6716 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/1.172, allocations: 5.094 kB / 0.6716 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/1.172, allocations: 15.86 kB / 0.6716 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.088e-05/1.172, allocations: 7.922 kB / 0.6716 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.172, allocations: 3.562 kB / 0.6716 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003492/1.176, allocations: 1.602 MB / 0.6732 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/1.176, allocations: 304.8 kB / 0.6735 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/1.177, allocations: 11.78 kB / 0.6735 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.178, allocations: 99.53 kB / 0.6736 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.178, allocations: 50.95 kB / 0.6736 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.59e-05/1.178, allocations: 34.97 kB / 0.6737 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001176/1.179, allocations: 0.8386 MB / 0.6745 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.92e-07/1.179, allocations: 0 / 0.6745 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00163/1.181, allocations: 0.5128 MB / 0.675 GB, free: 13.8 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.0006661/1.182, allocations: 233 kB / 0.6752 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003425/1.185, allocations: 1.387 MB / 0.6766 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.185, allocations: 0 / 0.6766 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.186, allocations: 452.3 kB / 0.677 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.189, allocations: 0.5534 MB / 0.6775 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007929/1.197, allocations: 3.011 MB / 0.6805 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/1.197, allocations: 1.086 MB / 0.6815 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001703/1.199, allocations: 311.1 kB / 0.6818 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/1.2, allocations: 107.4 kB / 0.6819 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of SimCode: time 1.593e-06/1.2, allocations: 0 / 0.6819 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of Templates: time 0.04278/1.242, allocations: 23.89 MB / 0.7053 GB, free: 11.47 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)