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.0008563/0.000856, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008473/0.0008473, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.858/0.858, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002997, allocations: 8 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1498, allocations: 82.31 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4201/0.5699, allocations: 157.6 MB / 0.7411 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007084/0.5771, allocations: 4.132 MB / 0.7452 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.5782, allocations: 24.31 kB / 0.7452 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.5796, allocations: 463.2 kB / 0.7456 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004105/0.5837, allocations: 1.48 MB / 0.7471 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.5863, allocations: 0.9067 MB / 0.7479 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002175/0.5885, allocations: 1.294 MB / 0.7492 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.5897, allocations: 0.8794 MB / 0.7501 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.5911, allocations: 0.8411 MB / 0.7509 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007774/0.5919, allocations: 0.6421 MB / 0.7515 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.5921, allocations: 56 kB / 0.7516 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.5937, allocations: 0.6553 MB / 0.7522 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.594, allocations: 315 kB / 0.7525 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.5942, allocations: 221.1 kB / 0.7527 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.5956, allocations: 1.414 MB / 0.7541 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5956, allocations: 0 / 0.7541 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5957, allocations: 0 / 0.7541 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.5957, allocations: 4 kB / 0.7541 GB, free: 1.656 MB / 0.5606 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.003519/0.5992, allocations: 1.497 MB / 0.7556 GB, free: 112 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5992, allocations: 8.031 kB / 0.7556 GB, free: 104 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007533/0.6, allocations: 182.5 kB / 0.7558 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.6018, allocations: 1.003 MB / 0.7567 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.6019, allocations: 52.98 kB / 0.7568 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.602, allocations: 59.94 kB / 0.7568 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.6031, allocations: 0.6193 MB / 0.7574 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.6031, allocations: 0 / 0.7574 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.6032, allocations: 20 kB / 0.7575 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.6032, allocations: 17 kB / 0.7575 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.6044, allocations: 0.6441 MB / 0.7581 GB, free: 13.45 MB / 0.5762 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.003855/0.6083, allocations: 2.677 MB / 0.7607 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.6094, allocations: 0.5624 MB / 0.7613 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.781e-05/0.6095, allocations: 23.97 kB / 0.7613 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.6095, allocations: 35.28 kB / 0.7613 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006453/0.6102, allocations: 163.5 kB / 0.7615 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.6102, allocations: 0 / 0.7615 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00214/0.6123, allocations: 1.051 MB / 0.7625 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.6124, allocations: 59.41 kB / 0.7626 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.6141, allocations: 1.263 MB / 0.7638 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.6142, allocations: 33.7 kB / 0.7638 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.6146, allocations: 437.7 kB / 0.7643 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.6147, allocations: 153.7 kB / 0.7644 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.6147, allocations: 8 kB / 0.7644 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6148, allocations: 326 kB / 0.7647 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.6154, allocations: 268.6 kB / 0.765 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.6161, allocations: 485.4 kB / 0.7654 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/0.6167, allocations: 323.7 kB / 0.7657 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6167, allocations: 0 / 0.7657 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001382/0.6181, allocations: 0.7457 MB / 0.7665 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.6181, allocations: 105.3 kB / 0.7666 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6181, allocations: 4 kB / 0.7666 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6182, allocations: 0 / 0.7666 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/0.6188, allocations: 127.8 kB / 0.7667 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.6188, allocations: 4 kB / 0.7667 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.6199, allocations: 127.8 kB / 0.7668 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.62, allocations: 19.97 kB / 0.7668 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.62, allocations: 6.344 kB / 0.7668 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/0.6212, allocations: 0.632 MB / 0.7675 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.6212, allocations: 0 / 0.7675 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-06/0.6212, allocations: 4 kB / 0.7675 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.6218, allocations: 120.8 kB / 0.7676 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.6218, allocations: 4 kB / 0.7676 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.6229, allocations: 127.7 kB / 0.7677 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.6229, allocations: 27.92 kB / 0.7677 GB, free: 3.293 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004106/0.6233, allocations: 335.3 kB / 0.7681 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.6235, allocations: 98.78 kB / 0.7682 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.6251, allocations: 0.8304 MB / 0.769 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.6251, allocations: 8 kB / 0.769 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6251, allocations: 0 / 0.769 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6251, allocations: 3.984 kB / 0.769 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.628, allocations: 1.979 MB / 0.7709 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.628, allocations: 7.953 kB / 0.7709 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005323/0.6285, allocations: 116.1 kB / 0.771 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.6285, allocations: 11.94 kB / 0.771 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.6286, allocations: 16 kB / 0.7711 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.6286, allocations: 4 kB / 0.7711 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.6286, allocations: 1.25 kB / 0.7711 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.6306, allocations: 1.379 MB / 0.7724 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/0.631, allocations: 291.7 kB / 0.7727 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.6312, allocations: 16 kB / 0.7727 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009103/0.6321, allocations: 83.81 kB / 0.7728 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.6322, allocations: 51.83 kB / 0.7728 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.6322, allocations: 16 kB / 0.7728 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001283/0.6335, allocations: 0.9169 MB / 0.7737 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6335, allocations: 0 / 0.7737 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001027/0.6346, allocations: 399.4 kB / 0.7741 GB, free: 12.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00041/0.635, allocations: 216.1 kB / 0.7743 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.6368, allocations: 0.9677 MB / 0.7753 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6368, allocations: 0 / 0.7753 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005776/0.6374, allocations: 352.1 kB / 0.7756 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.6393, allocations: 452.5 kB / 0.776 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.6418, allocations: 1.938 MB / 0.7779 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.6423, allocations: 1.065 MB / 0.779 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009975/0.6433, allocations: 303 kB / 0.7793 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.6436, allocations: 95.38 kB / 0.7793 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.6436, allocations: 0 / 0.7793 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of Templates: time 0.03069/0.6743, allocations: 19.75 MB / 0.7986 GB, free: 3.645 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: