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.001514/0.001514, allocations: 109 kB / 16.41 MB, free: 6.488 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.001712/0.001712, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8791/0.8791, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 65.14 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1666, allocations: 80.92 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6309/0.7976, allocations: 189.7 MB / 0.8505 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007922/0.8055, allocations: 4.284 MB / 0.8547 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.807, allocations: 28.72 kB / 0.8547 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.8086, allocations: 0.504 MB / 0.8552 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004156/0.8128, allocations: 1.566 MB / 0.8568 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.8174, allocations: 1.34 MB / 0.8581 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00453/0.8219, allocations: 2.263 MB / 0.8603 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.8241, allocations: 1.081 MB / 0.8613 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.8265, allocations: 0.9612 MB / 0.8623 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.8284, allocations: 0.8705 MB / 0.8631 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005488/0.8289, allocations: 142.9 kB / 0.8633 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.8321, allocations: 1.243 MB / 0.8645 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008588/0.833, allocations: 418.7 kB / 0.8649 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.8347, allocations: 0.6492 MB / 0.8655 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004246/0.839, allocations: 1.986 MB / 0.8674 GB, free: 256 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.839, allocations: 3.938 kB / 0.8675 GB, free: 252 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.414e-06/0.839, allocations: 4 kB / 0.8675 GB, free: 248 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.298e-05/0.8391, allocations: 0 / 0.8675 GB, free: 248 kB / 0.6231 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.005691/0.8448, allocations: 1.724 MB / 0.8691 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.8449, allocations: 9.109 kB / 0.8691 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.846, allocations: 190.4 kB / 0.8693 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.8484, allocations: 1.065 MB / 0.8704 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.8485, allocations: 48.94 kB / 0.8704 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.8486, allocations: 56 kB / 0.8705 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.85, allocations: 0.6115 MB / 0.8711 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.8501, allocations: 4 kB / 0.8711 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/0.8501, allocations: 23.94 kB / 0.8711 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.8502, allocations: 20.98 kB / 0.8711 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.8516, allocations: 0.6207 MB / 0.8717 GB, free: 11.76 MB / 0.6387 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.004802/0.8564, allocations: 2.651 MB / 0.8743 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.8576, allocations: 0.5451 MB / 0.8748 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.8583, allocations: 353.3 kB / 0.8752 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004269/0.8587, allocations: 291.3 kB / 0.8755 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.8587, allocations: 30.56 kB / 0.8755 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000759/0.8595, allocations: 147.4 kB / 0.8756 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 5.681e-06/0.8595, allocations: 0 / 0.8756 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002597/0.8621, allocations: 1.02 MB / 0.8766 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.8622, allocations: 55.41 kB / 0.8767 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/0.8646, allocations: 1.279 MB / 0.8779 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.83e-05/0.8647, allocations: 37.7 kB / 0.878 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.8651, allocations: 433.7 kB / 0.8784 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.8653, allocations: 149.8 kB / 0.8785 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.8655, allocations: 122 kB / 0.8786 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8656, allocations: 322 kB / 0.8789 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/0.8662, allocations: 266.2 kB / 0.8792 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008286/0.8671, allocations: 486.1 kB / 0.8797 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.8683, allocations: 0.5907 MB / 0.8802 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.8683, allocations: 9.062 kB / 0.8802 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001713/0.8701, allocations: 0.734 MB / 0.881 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.8701, allocations: 4 kB / 0.881 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8701, allocations: 0 / 0.881 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.8701, allocations: 8 kB / 0.881 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.8708, allocations: 123.8 kB / 0.8811 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.8708, allocations: 0 / 0.8811 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.8722, allocations: 95.81 kB / 0.8812 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/0.8722, allocations: 19.98 kB / 0.8812 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008874/0.8731, allocations: 467.9 kB / 0.8816 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008028/0.874, allocations: 497.8 kB / 0.8821 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001146/0.8751, allocations: 0.5798 MB / 0.8827 GB, free: 72 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.8751, allocations: 8 kB / 0.8827 GB, free: 64 kB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001754/0.8769, allocations: 0.7266 MB / 0.8834 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8769, allocations: 8 kB / 0.8834 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.8769, allocations: 0 / 0.8834 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-06/0.8769, allocations: 4 kB / 0.8834 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.8776, allocations: 123.8 kB / 0.8835 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.8776, allocations: 9.5 kB / 0.8835 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.8791, allocations: 128.2 kB / 0.8837 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/0.8792, allocations: 27.97 kB / 0.8837 GB, free: 15.04 MB / 0.6544 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.0002315/0.8794, allocations: 204.1 kB / 0.8839 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.8798, allocations: 102.7 kB / 0.884 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.8816, allocations: 0.8109 MB / 0.8848 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.8816, allocations: 8 kB / 0.8848 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.8817, allocations: 7.969 kB / 0.8848 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.8817, allocations: 0 / 0.8848 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/0.8853, allocations: 1.942 MB / 0.8867 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.629e-05/0.8853, allocations: 4.281 kB / 0.8867 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/0.8859, allocations: 107.8 kB / 0.8868 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.886, allocations: 7.938 kB / 0.8868 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.886, allocations: 19.92 kB / 0.8868 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.886, allocations: 4 kB / 0.8868 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.886, allocations: 4 kB / 0.8868 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.8884, allocations: 1.236 MB / 0.888 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.8889, allocations: 291.6 kB / 0.8883 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.8891, allocations: 23.92 kB / 0.8883 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.8902, allocations: 59.98 kB / 0.8884 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.8903, allocations: 43.88 kB / 0.8884 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.8904, allocations: 23.94 kB / 0.8885 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001606/0.892, allocations: 0.9208 MB / 0.8894 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/0.892, allocations: 0 / 0.8894 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001327/0.8933, allocations: 411.4 kB / 0.8897 GB, free: 8.66 MB / 0.6544 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.0005825/0.8939, allocations: 214.8 kB / 0.89 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002123/0.896, allocations: 0.9399 MB / 0.8909 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.8961, allocations: 0 / 0.8909 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000661/0.8967, allocations: 336.1 kB / 0.8912 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.8989, allocations: 436.6 kB / 0.8916 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.9022, allocations: 1.712 MB / 0.8933 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008374/0.903, allocations: 1.045 MB / 0.8943 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.9035, allocations: 99.38 kB / 0.8944 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of SimCode: time 8.21e-07/0.9035, allocations: 3.938 kB / 0.8944 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of Templates: time 0.02952/0.933, allocations: 16.33 MB / 0.9103 GB, free: 3.594 MB / 0.67 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)