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.006886/0.006886, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001057/0.001057, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.458/1.458, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4455/0.4455, allocations: 54.94 MB / 324.8 MB, free: 4 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.00148/0.00148, allocations: 70.3 kB / 456.2 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1358, allocations: 59.58 MB / 0.5037 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6406/0.7765, allocations: 189.9 MB / 0.6891 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01391/0.7904, allocations: 7.125 MB / 0.6961 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.7926, allocations: 35.56 kB / 0.6961 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.7957, allocations: 0.6805 MB / 0.6968 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005742/0.8015, allocations: 1.326 MB / 0.6981 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01064/0.8122, allocations: 2.702 MB / 0.7007 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004638/0.8168, allocations: 2.581 MB / 0.7032 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.8191, allocations: 1.097 MB / 0.7043 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.8223, allocations: 1.191 MB / 0.7055 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.8245, allocations: 0.9489 MB / 0.7064 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005881/0.8251, allocations: 147.9 kB / 0.7066 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.8281, allocations: 1.017 MB / 0.7075 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009172/0.829, allocations: 0.4887 MB / 0.708 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.8307, allocations: 0.7281 MB / 0.7087 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003908/0.8347, allocations: 2.19 MB / 0.7109 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8347, allocations: 0 / 0.7109 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8347, allocations: 0 / 0.7109 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.863e-05/0.8348, allocations: 0 / 0.7109 GB, free: 11.45 MB / 0.5137 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.005098/0.8399, allocations: 1.792 MB / 0.7126 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.8399, allocations: 7.969 kB / 0.7126 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008791/0.8408, allocations: 201.4 kB / 0.7128 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.8423, allocations: 0.9182 MB / 0.7137 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/0.8423, allocations: 59.5 kB / 0.7138 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.8425, allocations: 68.31 kB / 0.7138 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/0.8454, allocations: 1.145 MB / 0.715 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.8454, allocations: 4 kB / 0.715 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.8455, allocations: 27.75 kB / 0.715 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.8455, allocations: 17.88 kB / 0.715 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.8482, allocations: 1.006 MB / 0.716 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/0.8531, allocations: 3.198 MB / 0.7191 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.8555, allocations: 0.8197 MB / 0.7199 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/0.8562, allocations: 353.5 kB / 0.7202 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.8563, allocations: 17.05 kB / 0.7203 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.8563, allocations: 44.19 kB / 0.7203 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006584/0.857, allocations: 161.9 kB / 0.7205 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.265e-06/0.857, allocations: 0 / 0.7205 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47): time 0.004573/0.8616, allocations: 1.481 MB / 0.7219 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/0.8617, allocations: 133.8 kB / 0.722 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.8633, allocations: 1.202 MB / 0.7232 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.544e-05/0.8634, allocations: 41.7 kB / 0.7232 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.8638, allocations: 0.4886 MB / 0.7237 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.8639, allocations: 161.1 kB / 0.7239 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.8642, allocations: 146.1 kB / 0.724 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8643, allocations: 326 kB / 0.7243 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.8654, allocations: 430.8 kB / 0.7247 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.8665, allocations: 0.5494 MB / 0.7253 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.8686, allocations: 0.8824 MB / 0.7261 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.8686, allocations: 3.938 kB / 0.7261 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002551/0.8712, allocations: 1.095 MB / 0.7272 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.8712, allocations: 8 kB / 0.7272 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.8712, allocations: 0 / 0.7272 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.8712, allocations: 4 kB / 0.7272 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.8723, allocations: 191.7 kB / 0.7274 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.8723, allocations: 7.984 kB / 0.7274 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.8735, allocations: 83.91 kB / 0.7275 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/0.8736, allocations: 31.97 kB / 0.7275 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009581/0.8745, allocations: 0.5478 MB / 0.7281 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008295/0.8754, allocations: 475 kB / 0.7285 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001425/0.8768, allocations: 0.7321 MB / 0.7292 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/0.8768, allocations: 0 / 0.7292 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001913/0.8787, allocations: 0.9173 MB / 0.7301 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.8788, allocations: 12.03 kB / 0.7301 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.8788, allocations: 4 kB / 0.7301 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.8788, allocations: 4 kB / 0.7301 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.8795, allocations: 147.8 kB / 0.7303 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.8796, allocations: 11.92 kB / 0.7303 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.8806, allocations: 59.94 kB / 0.7304 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.8807, allocations: 35.91 kB / 0.7304 GB, free: 11.45 MB / 0.5294 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.0003408/0.881, allocations: 218.6 kB / 0.7306 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/0.8813, allocations: 114.6 kB / 0.7307 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.8839, allocations: 1.018 MB / 0.7317 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.8839, allocations: 4 kB / 0.7317 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8839, allocations: 7.984 kB / 0.7317 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.8839, allocations: 7.938 kB / 0.7317 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/0.888, allocations: 2.157 MB / 0.7338 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.888, allocations: 3.984 kB / 0.7338 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.8888, allocations: 160.1 kB / 0.734 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/0.8889, allocations: 4 kB / 0.734 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/0.8889, allocations: 16 kB / 0.734 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.489e-05/0.8889, allocations: 11.92 kB / 0.734 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.889, allocations: 7.984 kB / 0.734 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/0.8923, allocations: 1.587 MB / 0.7356 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/0.8929, allocations: 307.6 kB / 0.7359 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.8931, allocations: 16 kB / 0.7359 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.8943, allocations: 79.97 kB / 0.736 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.8945, allocations: 44.31 kB / 0.736 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-05/0.8946, allocations: 39.97 kB / 0.736 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001297/0.8959, allocations: 0.8371 MB / 0.7369 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.372e-06/0.8959, allocations: 4 kB / 0.7369 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001565/0.8975, allocations: 0.5071 MB / 0.7373 GB, free: 4.156 MB / 0.5294 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.0006976/0.8982, allocations: 231.8 kB / 0.7376 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003206/0.9014, allocations: 1.396 MB / 0.7389 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.9014, allocations: 0 / 0.7389 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.9025, allocations: 454.9 kB / 0.7394 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.9049, allocations: 0.507 MB / 0.7399 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007215/0.9121, allocations: 2.651 MB / 0.7425 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/0.9129, allocations: 1.093 MB / 0.7435 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001229/0.9141, allocations: 308.1 kB / 0.7438 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.9145, allocations: 103.4 kB / 0.7439 GB, free: 13.34 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.9145, allocations: 0 / 0.7439 GB, free: 13.34 MB / 0.545 GB Notification: Performance of Templates: time 0.04212/0.9567, allocations: 24.81 MB / 0.7681 GB, free: 4.645 MB / 0.5606 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)