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.001163/0.001163, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001097/0.001098, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8127/0.8127, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 59.91 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4432, allocations: 80.9 MB / 0.5858 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.59/1.033, allocations: 189.7 MB / 0.771 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007011/1.04, allocations: 4.282 MB / 0.7752 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/1.042, allocations: 32.16 kB / 0.7752 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/1.043, allocations: 0.4938 MB / 0.7757 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004594/1.048, allocations: 1.569 MB / 0.7772 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004559/1.053, allocations: 1.351 MB / 0.7785 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003995/1.057, allocations: 2.263 MB / 0.7807 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/1.058, allocations: 1.08 MB / 0.7818 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/1.06, allocations: 0.9483 MB / 0.7827 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/1.062, allocations: 0.8737 MB / 0.7836 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001866/1.062, allocations: 142.1 kB / 0.7837 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/1.064, allocations: 1.241 MB / 0.7849 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003938/1.065, allocations: 424.8 kB / 0.7853 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006907/1.065, allocations: 0.6459 MB / 0.786 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002496/1.068, allocations: 1.99 MB / 0.7879 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.068, allocations: 0 / 0.7879 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/1.068, allocations: 0.9375 kB / 0.7879 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.531e-05/1.068, allocations: 0 / 0.7879 GB, free: 1.176 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.003936/1.072, allocations: 1.719 MB / 0.7896 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.072, allocations: 15.53 kB / 0.7896 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007737/1.073, allocations: 184.1 kB / 0.7898 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/1.074, allocations: 1.076 MB / 0.7908 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/1.074, allocations: 42.38 kB / 0.7909 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/1.074, allocations: 60.62 kB / 0.7909 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000998/1.075, allocations: 0.613 MB / 0.7915 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.075, allocations: 4.812 kB / 0.7915 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/1.076, allocations: 22.62 kB / 0.7916 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/1.076, allocations: 18.44 kB / 0.7916 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/1.077, allocations: 0.6218 MB / 0.7922 GB, free: 15.86 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.003515/1.08, allocations: 2.653 MB / 0.7948 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/1.081, allocations: 0.5424 MB / 0.7953 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/1.082, allocations: 354 kB / 0.7956 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004021/1.082, allocations: 290.2 kB / 0.7959 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/1.082, allocations: 41.86 kB / 0.7959 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006422/1.083, allocations: 138.3 kB / 0.7961 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.635e-06/1.083, allocations: 0.7812 kB / 0.7961 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002019/1.085, allocations: 1.021 MB / 0.7971 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/1.085, allocations: 60.53 kB / 0.7971 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/1.087, allocations: 1.272 MB / 0.7984 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/1.087, allocations: 39.52 kB / 0.7984 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/1.087, allocations: 433 kB / 0.7988 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/1.087, allocations: 146.8 kB / 0.799 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/1.087, allocations: 122 kB / 0.7991 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.088, allocations: 321.2 kB / 0.7994 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/1.088, allocations: 272.5 kB / 0.7997 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007159/1.089, allocations: 492.1 kB / 0.8001 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/1.09, allocations: 0.5879 MB / 0.8007 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.09, allocations: 0.5938 kB / 0.8007 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00143/1.091, allocations: 0.7368 MB / 0.8014 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.091, allocations: 5.188 kB / 0.8014 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/1.091, allocations: 0.9375 kB / 0.8014 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.091, allocations: 3.312 kB / 0.8014 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/1.092, allocations: 122.8 kB / 0.8015 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/1.092, allocations: 4.719 kB / 0.8015 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/1.093, allocations: 105 kB / 0.8016 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/1.093, allocations: 24.28 kB / 0.8017 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007378/1.094, allocations: 463.7 kB / 0.8021 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007094/1.095, allocations: 485.4 kB / 0.8026 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009776/1.096, allocations: 0.5879 MB / 0.8031 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/1.096, allocations: 1.031 kB / 0.8031 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001309/1.097, allocations: 0.7366 MB / 0.8039 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/1.097, allocations: 5.719 kB / 0.8039 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-06/1.097, allocations: 0 / 0.8039 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/1.097, allocations: 2.25 kB / 0.8039 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/1.098, allocations: 125.9 kB / 0.804 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/1.098, allocations: 2.625 kB / 0.804 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/1.099, allocations: 123.3 kB / 0.8041 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/1.099, allocations: 24.48 kB / 0.8041 GB, free: 13.05 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.0002292/1.099, allocations: 212.3 kB / 0.8043 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/1.099, allocations: 108.2 kB / 0.8044 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/1.101, allocations: 0.8011 MB / 0.8052 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/1.101, allocations: 7.891 kB / 0.8052 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.101, allocations: 0.8438 kB / 0.8052 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.101, allocations: 1.906 kB / 0.8052 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/1.104, allocations: 1.95 MB / 0.8071 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.104, allocations: 7.125 kB / 0.8071 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/1.104, allocations: 110.5 kB / 0.8073 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/1.104, allocations: 3.406 kB / 0.8073 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/1.104, allocations: 19.62 kB / 0.8073 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/1.104, allocations: 11.75 kB / 0.8073 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.104, allocations: 3.094 kB / 0.8073 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/1.107, allocations: 1.232 MB / 0.8085 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/1.107, allocations: 296.6 kB / 0.8088 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/1.107, allocations: 13.16 kB / 0.8088 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008998/1.108, allocations: 64.33 kB / 0.8089 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/1.108, allocations: 40.12 kB / 0.8089 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/1.108, allocations: 19.94 kB / 0.8089 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001245/1.11, allocations: 0.9249 MB / 0.8098 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/1.11, allocations: 0.9062 kB / 0.8098 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001127/1.111, allocations: 410.1 kB / 0.8102 GB, free: 11.77 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.0005406/1.111, allocations: 221.1 kB / 0.8104 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001736/1.113, allocations: 0.9425 MB / 0.8113 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.113, allocations: 1.031 kB / 0.8113 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005281/1.114, allocations: 339.2 kB / 0.8117 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.115, allocations: 431.3 kB / 0.8121 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/1.118, allocations: 1.671 MB / 0.8137 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008837/1.119, allocations: 1.051 MB / 0.8147 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001178/1.12, allocations: 293.5 kB / 0.815 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/1.121, allocations: 99.33 kB / 0.8151 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of SimCode: time 1.833e-06/1.121, allocations: 1.188 kB / 0.8151 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of Templates: time 0.03758/1.158, allocations: 21.25 MB / 0.8359 GB, free: 9.527 MB / 0.6075 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)