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.001042/0.001042, allocations: 112.6 kB / 16.37 MB, free: 6 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.001026/0.001026, allocations: 196 kB / 17.31 MB, free: 5.613 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7915/0.7915, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.4671, allocations: 80.18 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5299/0.997, allocations: 189.7 MB / 0.7667 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007131/1.004, allocations: 4.283 MB / 0.7709 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/1.006, allocations: 31.84 kB / 0.7709 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/1.007, allocations: 0.4951 MB / 0.7714 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003573/1.01, allocations: 1.567 MB / 0.773 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003222/1.014, allocations: 1.347 MB / 0.7743 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003607/1.017, allocations: 2.266 MB / 0.7765 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/1.019, allocations: 1.079 MB / 0.7775 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/1.021, allocations: 0.9587 MB / 0.7785 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/1.022, allocations: 0.8705 MB / 0.7793 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003037/1.023, allocations: 141.3 kB / 0.7795 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/1.025, allocations: 1.238 MB / 0.7807 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004322/1.026, allocations: 424.4 kB / 0.7811 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007948/1.026, allocations: 0.6458 MB / 0.7817 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002747/1.029, allocations: 1.982 MB / 0.7836 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.029, allocations: 0 / 0.7836 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.185e-06/1.029, allocations: 0.9688 kB / 0.7836 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.526e-05/1.029, allocations: 3.938 kB / 0.7836 GB, free: 1.211 MB / 0.5762 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.003999/1.033, allocations: 1.725 MB / 0.7853 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/1.033, allocations: 10.88 kB / 0.7853 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008138/1.034, allocations: 182.9 kB / 0.7855 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/1.036, allocations: 1.068 MB / 0.7866 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/1.036, allocations: 46.19 kB / 0.7866 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/1.036, allocations: 56.72 kB / 0.7867 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/1.037, allocations: 0.6134 MB / 0.7872 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/1.037, allocations: 0 / 0.7872 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.463e-05/1.037, allocations: 20.97 kB / 0.7873 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/1.037, allocations: 30.41 kB / 0.7873 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/1.039, allocations: 0.6225 MB / 0.7879 GB, free: 15.9 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.004737/1.043, allocations: 2.659 MB / 0.7905 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/1.044, allocations: 0.5391 MB / 0.791 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/1.045, allocations: 349.3 kB / 0.7914 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004207/1.045, allocations: 288.5 kB / 0.7916 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/1.045, allocations: 46.55 kB / 0.7917 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007896/1.046, allocations: 144.8 kB / 0.7918 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/1.046, allocations: 0.9375 kB / 0.7918 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.0022/1.048, allocations: 1.018 MB / 0.7928 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.049, allocations: 57 kB / 0.7929 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/1.05, allocations: 1.271 MB / 0.7941 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.246e-05/1.05, allocations: 37.3 kB / 0.7941 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/1.051, allocations: 441.5 kB / 0.7946 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/1.051, allocations: 149.6 kB / 0.7947 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/1.051, allocations: 124.8 kB / 0.7948 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.051, allocations: 321.5 kB / 0.7951 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/1.052, allocations: 273.7 kB / 0.7954 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/1.052, allocations: 486.5 kB / 0.7959 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/1.053, allocations: 0.586 MB / 0.7964 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.053, allocations: 0.8438 kB / 0.7964 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001476/1.055, allocations: 0.7426 MB / 0.7972 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.055, allocations: 5.031 kB / 0.7972 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.055, allocations: 0.9062 kB / 0.7972 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.055, allocations: 1.812 kB / 0.7972 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/1.056, allocations: 129.4 kB / 0.7973 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.056, allocations: 3.375 kB / 0.7973 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/1.057, allocations: 92.69 kB / 0.7974 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/1.057, allocations: 22.41 kB / 0.7974 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007613/1.058, allocations: 465.2 kB / 0.7978 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006773/1.058, allocations: 490.2 kB / 0.7983 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001034/1.06, allocations: 0.5811 MB / 0.7989 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/1.06, allocations: 2.781 kB / 0.7989 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001546/1.061, allocations: 0.7261 MB / 0.7996 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.061, allocations: 15.06 kB / 0.7996 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/1.061, allocations: 0 / 0.7996 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/1.061, allocations: 6.188 kB / 0.7996 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/1.062, allocations: 119.4 kB / 0.7997 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/1.062, allocations: 2.219 kB / 0.7997 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.063, allocations: 127 kB / 0.7999 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/1.063, allocations: 23.88 kB / 0.7999 GB, free: 13.09 MB / 0.5919 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.0002387/1.064, allocations: 206.6 kB / 0.8001 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/1.064, allocations: 106.2 kB / 0.8002 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/1.065, allocations: 0.8029 MB / 0.801 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.065, allocations: 4.844 kB / 0.801 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.065, allocations: 4.656 kB / 0.801 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.065, allocations: 4.969 kB / 0.801 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/1.069, allocations: 1.958 MB / 0.8029 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.069, allocations: 2.375 kB / 0.8029 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/1.069, allocations: 114 kB / 0.803 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.069, allocations: 3.156 kB / 0.803 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/1.069, allocations: 17.36 kB / 0.803 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.069, allocations: 6.781 kB / 0.803 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.069, allocations: 6.719 kB / 0.803 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/1.071, allocations: 1.232 MB / 0.8042 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/1.072, allocations: 287.8 kB / 0.8045 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/1.072, allocations: 19.73 kB / 0.8045 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009323/1.073, allocations: 62.73 kB / 0.8046 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.073, allocations: 45.91 kB / 0.8046 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/1.073, allocations: 20.05 kB / 0.8046 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00131/1.074, allocations: 0.9224 MB / 0.8055 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/1.074, allocations: 0.9375 kB / 0.8055 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001223/1.075, allocations: 403.5 kB / 0.8059 GB, free: 11.82 MB / 0.5919 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.0004954/1.076, allocations: 219 kB / 0.8061 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001901/1.078, allocations: 0.9448 MB / 0.8071 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/1.078, allocations: 7.219 kB / 0.8071 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005868/1.079, allocations: 331.8 kB / 0.8074 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/1.08, allocations: 434.7 kB / 0.8078 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/1.083, allocations: 1.674 MB / 0.8094 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/1.084, allocations: 1.05 MB / 0.8105 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001198/1.085, allocations: 295.8 kB / 0.8107 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/1.085, allocations: 95.78 kB / 0.8108 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/1.085, allocations: 0 / 0.8108 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of Templates: time 0.03584/1.121, allocations: 21.25 MB / 0.8316 GB, free: 10.76 MB / 0.6075 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)