Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001031/0.001031, allocations: 108 kB / 15.61 MB, free: 152 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.001065/0.001065, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.734/0.734, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.94 kB / 0.5018 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3753, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1827/0.5581, allocations: 189.7 MB / 0.7653 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006664/0.5648, allocations: 4.28 MB / 0.7695 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008224/0.5656, allocations: 31.75 kB / 0.7695 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.5667, allocations: 0.5006 MB / 0.77 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003197/0.57, allocations: 1.567 MB / 0.7715 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.5728, allocations: 1.323 MB / 0.7728 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002527/0.5753, allocations: 2.268 MB / 0.7751 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.5768, allocations: 1.077 MB / 0.7761 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.5784, allocations: 0.9421 MB / 0.777 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.5795, allocations: 0.8678 MB / 0.7779 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.5797, allocations: 140 kB / 0.778 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.5817, allocations: 1.247 MB / 0.7792 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003588/0.5821, allocations: 422.7 kB / 0.7796 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005968/0.5827, allocations: 0.6492 MB / 0.7803 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.5847, allocations: 1.959 MB / 0.7822 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5847, allocations: 0 / 0.7822 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5847, allocations: 0 / 0.7822 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.5847, allocations: 0 / 0.7822 GB, free: 1.859 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003735/0.5885, allocations: 1.72 MB / 0.7839 GB, free: 84 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5885, allocations: 16.03 kB / 0.7839 GB, free: 68 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007743/0.5893, allocations: 178.5 kB / 0.784 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.5908, allocations: 1.045 MB / 0.7851 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.591, allocations: 45 kB / 0.7851 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.5911, allocations: 67.97 kB / 0.7852 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.5922, allocations: 0.6115 MB / 0.7858 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.5922, allocations: 0 / 0.7858 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.5923, allocations: 23.94 kB / 0.7858 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.5923, allocations: 17 kB / 0.7858 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.5936, allocations: 0.6284 MB / 0.7864 GB, free: 13.4 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003729/0.5973, allocations: 2.658 MB / 0.789 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.5984, allocations: 0.5412 MB / 0.7895 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/0.599, allocations: 353.2 kB / 0.7899 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/0.5994, allocations: 291.3 kB / 0.7902 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.5994, allocations: 42.52 kB / 0.7902 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000589/0.6, allocations: 135.5 kB / 0.7903 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 2.295e-06/0.6, allocations: 0 / 0.7903 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.002114/0.6021, allocations: 1.012 MB / 0.7913 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.6022, allocations: 59.39 kB / 0.7914 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.6038, allocations: 1.275 MB / 0.7926 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.6039, allocations: 37.7 kB / 0.7927 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.6042, allocations: 437.7 kB / 0.7931 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.6044, allocations: 149.7 kB / 0.7932 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.6046, allocations: 121.9 kB / 0.7933 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6047, allocations: 329.8 kB / 0.7936 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/0.6052, allocations: 270.2 kB / 0.7939 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007409/0.606, allocations: 490.2 kB / 0.7944 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.6071, allocations: 0.5832 MB / 0.7949 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6071, allocations: 0 / 0.7949 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001427/0.6085, allocations: 0.7376 MB / 0.7957 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.6086, allocations: 6.344 kB / 0.7957 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6086, allocations: 3.984 kB / 0.7957 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6086, allocations: 4 kB / 0.7957 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/0.6092, allocations: 127.8 kB / 0.7958 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6093, allocations: 0 / 0.7958 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.6103, allocations: 91.88 kB / 0.7959 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.6104, allocations: 19.98 kB / 0.7959 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007764/0.6112, allocations: 471.8 kB / 0.7964 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006938/0.6119, allocations: 489.9 kB / 0.7968 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00108/0.613, allocations: 0.5812 MB / 0.7974 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.613, allocations: 0 / 0.7974 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001402/0.6144, allocations: 0.7305 MB / 0.7981 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/0.6144, allocations: 7.938 kB / 0.7981 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.6144, allocations: 4 kB / 0.7981 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-06/0.6144, allocations: 0 / 0.7981 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.615, allocations: 127.8 kB / 0.7982 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.615, allocations: 7.984 kB / 0.7982 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.6162, allocations: 123.8 kB / 0.7984 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.6163, allocations: 27.97 kB / 0.7984 GB, free: 0.6797 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (45): * Single equations (assignments): 45 * 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 prepare postOptimizeDAE: time 0.0001909/0.6165, allocations: 208.1 kB / 0.7986 GB, free: 480 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.6167, allocations: 102.7 kB / 0.7987 GB, free: 376 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.6183, allocations: 0.7954 MB / 0.7995 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.6183, allocations: 12 kB / 0.7995 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.6183, allocations: 3.984 kB / 0.7995 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6183, allocations: 3.938 kB / 0.7995 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.6212, allocations: 1.95 MB / 0.8014 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6212, allocations: 4.219 kB / 0.8014 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.6217, allocations: 115.8 kB / 0.8015 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.6218, allocations: 4 kB / 0.8015 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.6218, allocations: 19.98 kB / 0.8015 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.6218, allocations: 4 kB / 0.8015 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.6218, allocations: 4 kB / 0.8015 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.6238, allocations: 1.225 MB / 0.8027 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.6242, allocations: 291.6 kB / 0.803 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.6243, allocations: 16 kB / 0.803 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000893/0.6252, allocations: 67.97 kB / 0.8031 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.6254, allocations: 39.83 kB / 0.8031 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.6254, allocations: 27.98 kB / 0.8031 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00127/0.6267, allocations: 0.9207 MB / 0.804 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6267, allocations: 0 / 0.804 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001001/0.6277, allocations: 411.4 kB / 0.8044 GB, free: 10.32 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[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 (52): * Single equations (assignments): 52 * 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.0004381/0.6281, allocations: 212.1 kB / 0.8046 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.6301, allocations: 0.9981 MB / 0.8056 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6301, allocations: 0 / 0.8056 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006015/0.6307, allocations: 336.1 kB / 0.8059 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.6326, allocations: 439.5 kB / 0.8064 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.6351, allocations: 1.689 MB / 0.808 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.6356, allocations: 1.049 MB / 0.809 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001084/0.6367, allocations: 295 kB / 0.8093 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.637, allocations: 95.38 kB / 0.8094 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/0.637, allocations: 0 / 0.8094 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of Templates: time 0.2921/0.9292, allocations: 21.26 MB / 0.8302 GB, free: 214.7 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)