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.001331/0.001331, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001149/0.001149, allocations: 193.5 kB / 16.25 MB, free: 6.629 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7291/0.7291, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 60.25 kB / 0.5013 GB, free: 9.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1876, allocations: 80.2 MB / 0.5796 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4983/0.6859, allocations: 187.2 MB / 0.7624 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007659/0.6936, allocations: 4.257 MB / 0.7666 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.6949, allocations: 27.81 kB / 0.7666 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.6963, allocations: 437.7 kB / 0.767 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003887/0.7002, allocations: 1.468 MB / 0.7684 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003341/0.7036, allocations: 1.238 MB / 0.7697 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003043/0.7067, allocations: 2.273 MB / 0.7719 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.708, allocations: 1.051 MB / 0.7729 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.7095, allocations: 0.9693 MB / 0.7739 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.7105, allocations: 0.8951 MB / 0.7747 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.7107, allocations: 140 kB / 0.7749 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.713, allocations: 1.274 MB / 0.7761 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004007/0.7134, allocations: 422.7 kB / 0.7765 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006197/0.714, allocations: 0.6492 MB / 0.7771 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.7163, allocations: 2.049 MB / 0.7791 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7163, allocations: 4 kB / 0.7791 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7164, allocations: 0 / 0.7791 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.7164, allocations: 0 / 0.7791 GB, free: 6.844 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.003978/0.7204, allocations: 1.72 MB / 0.7808 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.7204, allocations: 12.03 kB / 0.7808 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007978/0.7212, allocations: 182.5 kB / 0.781 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.7228, allocations: 1.045 MB / 0.782 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.7229, allocations: 52.92 kB / 0.7821 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.7231, allocations: 56 kB / 0.7821 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.7242, allocations: 0.6115 MB / 0.7827 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.7243, allocations: 0 / 0.7827 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/0.7243, allocations: 23.98 kB / 0.7828 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.7244, allocations: 20.98 kB / 0.7828 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.7256, allocations: 0.6246 MB / 0.7834 GB, free: 2.391 MB / 0.5919 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.003811/0.7295, allocations: 2.658 MB / 0.786 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.7306, allocations: 0.5424 MB / 0.7865 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006649/0.7313, allocations: 353.4 kB / 0.7868 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005034/0.7318, allocations: 287.3 kB / 0.7871 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.7319, allocations: 38.52 kB / 0.7872 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007339/0.7326, allocations: 167.4 kB / 0.7873 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.374e-06/0.7326, allocations: 0 / 0.7873 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002223/0.7348, allocations: 1.016 MB / 0.7883 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.7349, allocations: 55.41 kB / 0.7884 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.7367, allocations: 1.275 MB / 0.7896 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.7368, allocations: 37.7 kB / 0.7896 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.7372, allocations: 433.7 kB / 0.7901 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.7373, allocations: 149.8 kB / 0.7902 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.7375, allocations: 117.9 kB / 0.7903 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7377, allocations: 329.8 kB / 0.7906 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/0.7382, allocations: 274.2 kB / 0.7909 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007547/0.739, allocations: 491.3 kB / 0.7914 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.7402, allocations: 0.5833 MB / 0.7919 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7402, allocations: 0 / 0.7919 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001586/0.7418, allocations: 0.7454 MB / 0.7927 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.7418, allocations: 4 kB / 0.7927 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.7419, allocations: 0 / 0.7927 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.7419, allocations: 4 kB / 0.7927 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/0.7426, allocations: 111.8 kB / 0.7928 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.7426, allocations: 8 kB / 0.7928 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.744, allocations: 115.7 kB / 0.7929 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-05/0.7441, allocations: 23.97 kB / 0.7929 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008163/0.7449, allocations: 463.9 kB / 0.7934 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007318/0.7456, allocations: 487.5 kB / 0.7938 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001104/0.7467, allocations: 0.5812 MB / 0.7944 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.636e-06/0.7468, allocations: 3.938 kB / 0.7944 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001527/0.7483, allocations: 0.7345 MB / 0.7951 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.7483, allocations: 6.344 kB / 0.7951 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/0.7483, allocations: 4 kB / 0.7951 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.7483, allocations: 4 kB / 0.7951 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/0.749, allocations: 123.8 kB / 0.7952 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.749, allocations: 4 kB / 0.7952 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.7504, allocations: 129.7 kB / 0.7954 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.7504, allocations: 27.97 kB / 0.7954 GB, free: 5.648 MB / 0.6075 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.0002166/0.7507, allocations: 212.1 kB / 0.7956 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.7509, allocations: 102.7 kB / 0.7957 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.7526, allocations: 0.8031 MB / 0.7965 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.7526, allocations: 8 kB / 0.7965 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7526, allocations: 0 / 0.7965 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.7526, allocations: 3.984 kB / 0.7965 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/0.7556, allocations: 1.957 MB / 0.7984 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.7556, allocations: 3.938 kB / 0.7984 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.7562, allocations: 107.9 kB / 0.7985 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.7563, allocations: 8.219 kB / 0.7985 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.7563, allocations: 20 kB / 0.7985 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.7563, allocations: 7.938 kB / 0.7985 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7563, allocations: 4 kB / 0.7985 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.7587, allocations: 1.225 MB / 0.7997 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006066/0.7593, allocations: 295.5 kB / 0.8 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.7595, allocations: 16 kB / 0.8 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.7607, allocations: 71.97 kB / 0.8001 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.7609, allocations: 39.95 kB / 0.8001 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.7609, allocations: 19.98 kB / 0.8002 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001525/0.7624, allocations: 0.9247 MB / 0.8011 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7624, allocations: 3.938 kB / 0.8011 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001368/0.7638, allocations: 407.4 kB / 0.8015 GB, free: 15.27 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.0005493/0.7644, allocations: 212.4 kB / 0.8017 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002265/0.7667, allocations: 1.002 MB / 0.8026 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.7667, allocations: 4 kB / 0.8026 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.7673, allocations: 332.2 kB / 0.803 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.7693, allocations: 437.3 kB / 0.8034 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.7724, allocations: 1.994 MB / 0.8053 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.773, allocations: 1.045 MB / 0.8063 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001118/0.7741, allocations: 295 kB / 0.8066 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.7745, allocations: 99.38 kB / 0.8067 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.7745, allocations: 0 / 0.8067 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.03659/0.8111, allocations: 21.06 MB / 0.8273 GB, free: 5.059 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)