Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001223/0.001223, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001337/0.001337, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.1 MB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 64.31 kB / 0.5049 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2015, allocations: 80.93 MB / 0.5839 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.56/0.7615, allocations: 187.2 MB / 0.7667 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009111/0.7706, allocations: 4.252 MB / 0.7708 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.7727, allocations: 27.81 kB / 0.7709 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.7746, allocations: 441.6 kB / 0.7713 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005369/0.78, allocations: 1.465 MB / 0.7727 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004268/0.7843, allocations: 1.241 MB / 0.7739 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004085/0.7884, allocations: 2.269 MB / 0.7761 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002296/0.7907, allocations: 1.06 MB / 0.7772 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.7934, allocations: 0.9614 MB / 0.7781 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.7958, allocations: 0.9029 MB / 0.779 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009845/0.7968, allocations: 144 kB / 0.7791 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003628/0.8004, allocations: 1.282 MB / 0.7804 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005933/0.8011, allocations: 414.7 kB / 0.7808 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.8021, allocations: 0.6453 MB / 0.7814 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.8061, allocations: 2.049 MB / 0.7834 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8062, allocations: 0 / 0.7834 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8062, allocations: 0 / 0.7834 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.8062, allocations: 0 / 0.7834 GB, free: 0.9727 MB / 0.5919 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.005087/0.8113, allocations: 1.728 MB / 0.7851 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.8114, allocations: 12.03 kB / 0.7851 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.8124, allocations: 186.5 kB / 0.7853 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.8142, allocations: 1.041 MB / 0.7863 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.8144, allocations: 48.94 kB / 0.7864 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.8145, allocations: 56 kB / 0.7864 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.8158, allocations: 0.6193 MB / 0.787 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.8158, allocations: 0 / 0.787 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/0.8158, allocations: 16 kB / 0.787 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.8159, allocations: 21 kB / 0.7871 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.8172, allocations: 0.6246 MB / 0.7877 GB, free: 12.52 MB / 0.6075 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.004414/0.8216, allocations: 2.654 MB / 0.7903 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.8228, allocations: 0.5489 MB / 0.7908 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006426/0.8235, allocations: 349.4 kB / 0.7911 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004441/0.824, allocations: 287.3 kB / 0.7914 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.824, allocations: 38.52 kB / 0.7914 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008948/0.8249, allocations: 159.5 kB / 0.7916 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 3.286e-06/0.8249, allocations: 0 / 0.7916 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.00244/0.8274, allocations: 1.021 MB / 0.7926 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.8274, allocations: 59.41 kB / 0.7926 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.8295, allocations: 1.275 MB / 0.7939 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.937e-05/0.8296, allocations: 37.7 kB / 0.7939 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.83, allocations: 429.7 kB / 0.7943 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.8301, allocations: 145.8 kB / 0.7945 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.8304, allocations: 121.9 kB / 0.7946 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.8305, allocations: 329.8 kB / 0.7949 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005674/0.8311, allocations: 274.2 kB / 0.7952 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/0.8318, allocations: 485.3 kB / 0.7956 GB, free: 4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.833, allocations: 0.5842 MB / 0.7962 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.833, allocations: 0 / 0.7962 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001601/0.8346, allocations: 0.7417 MB / 0.7969 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.8347, allocations: 7.938 kB / 0.7969 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.8347, allocations: 0 / 0.7969 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.8347, allocations: 4 kB / 0.7969 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.8354, allocations: 119.8 kB / 0.797 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.8354, allocations: 4 kB / 0.7971 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.8368, allocations: 106.2 kB / 0.7972 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.8369, allocations: 31.97 kB / 0.7972 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008888/0.8378, allocations: 463.9 kB / 0.7976 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007653/0.8386, allocations: 487.1 kB / 0.7981 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001125/0.8397, allocations: 0.5852 MB / 0.7987 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.758e-06/0.8397, allocations: 3.938 kB / 0.7987 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001596/0.8413, allocations: 0.7343 MB / 0.7994 GB, free: 60 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.8414, allocations: 4 kB / 0.7994 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8414, allocations: 3.672 kB / 0.7994 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.8414, allocations: 4 kB / 0.7994 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.8421, allocations: 119.8 kB / 0.7995 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.8421, allocations: 4 kB / 0.7995 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.8436, allocations: 132.3 kB / 0.7996 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.8437, allocations: 23.97 kB / 0.7997 GB, free: 15.78 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.0002491/0.8439, allocations: 208.1 kB / 0.7999 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.8442, allocations: 102.7 kB / 0.8 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.8462, allocations: 0.807 MB / 0.8007 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.8462, allocations: 11.98 kB / 0.8008 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.8463, allocations: 0 / 0.8008 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.8463, allocations: 0 / 0.8008 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003711/0.85, allocations: 1.965 MB / 0.8027 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.85, allocations: 3.938 kB / 0.8027 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006078/0.8506, allocations: 103.9 kB / 0.8028 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.8506, allocations: 7.938 kB / 0.8028 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.8507, allocations: 15.98 kB / 0.8028 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.8507, allocations: 7.938 kB / 0.8028 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8507, allocations: 4.281 kB / 0.8028 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.8529, allocations: 1.233 MB / 0.804 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/0.8535, allocations: 295.5 kB / 0.8043 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.8537, allocations: 19.98 kB / 0.8043 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.8548, allocations: 67.97 kB / 0.8044 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.855, allocations: 39.95 kB / 0.8044 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/0.8551, allocations: 17.19 kB / 0.8044 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001716/0.8568, allocations: 0.9285 MB / 0.8053 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8568, allocations: 0 / 0.8053 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001565/0.8584, allocations: 403.4 kB / 0.8057 GB, free: 9.395 MB / 0.6231 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.0006511/0.859, allocations: 221.9 kB / 0.8059 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002365/0.8614, allocations: 0.9942 MB / 0.8069 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.8614, allocations: 0 / 0.8069 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006969/0.8621, allocations: 331.6 kB / 0.8072 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/0.8644, allocations: 429.6 kB / 0.8076 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/0.8678, allocations: 2.008 MB / 0.8096 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008637/0.8687, allocations: 1.045 MB / 0.8106 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001628/0.8703, allocations: 287 kB / 0.8109 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/0.8708, allocations: 99.38 kB / 0.811 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of SimCode: time 1.373e-06/0.8708, allocations: 0 / 0.811 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of Templates: time 0.04108/0.9119, allocations: 21.06 MB / 0.8315 GB, free: 15.16 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)