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.0007489/0.000749, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0007916/0.0007916, allocations: 168.7 kB / 15.95 MB, free: 204 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.293/1.293, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7409/0.7409, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002952, allocations: 8 kB / 0.5034 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3554, allocations: 81.57 MB / 0.5831 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1666/0.5221, allocations: 172.5 MB / 0.7516 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005749/0.5279, allocations: 4.079 MB / 0.7556 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004084/0.5283, allocations: 23.81 kB / 0.7556 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000778/0.5291, allocations: 325.8 kB / 0.7559 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.5313, allocations: 1.139 MB / 0.757 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.5334, allocations: 1.013 MB / 0.758 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002098/0.5355, allocations: 2.396 MB / 0.7603 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009725/0.5365, allocations: 0.8521 MB / 0.7612 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000933/0.5374, allocations: 0.8171 MB / 0.762 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008363/0.5383, allocations: 0.7782 MB / 0.7627 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.5384, allocations: 56 kB / 0.7628 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.5398, allocations: 0.8029 MB / 0.7636 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.5401, allocations: 334.8 kB / 0.7639 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.5403, allocations: 221.1 kB / 0.7641 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.5415, allocations: 1.461 MB / 0.7655 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.5416, allocations: 4 kB / 0.7655 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5416, allocations: 0 / 0.7655 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.5416, allocations: 0 / 0.7655 GB, free: 5.246 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.003253/0.5448, allocations: 1.499 MB / 0.767 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.5449, allocations: 8.031 kB / 0.767 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006958/0.5456, allocations: 190.5 kB / 0.7672 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.5471, allocations: 1.003 MB / 0.7682 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.5472, allocations: 48.98 kB / 0.7682 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5473, allocations: 60 kB / 0.7683 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.5484, allocations: 0.6192 MB / 0.7689 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5485, allocations: 0 / 0.7689 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.5485, allocations: 24 kB / 0.7689 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.5485, allocations: 20.98 kB / 0.7689 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.5498, allocations: 0.648 MB / 0.7695 GB, free: 1.023 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.003506/0.5533, allocations: 2.673 MB / 0.7722 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.5543, allocations: 0.5412 MB / 0.7727 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.5549, allocations: 364.6 kB / 0.773 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/0.5553, allocations: 299.2 kB / 0.7733 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.5553, allocations: 42.47 kB / 0.7734 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006053/0.5559, allocations: 163.4 kB / 0.7735 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.873e-06/0.556, allocations: 0 / 0.7735 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.00212/0.5581, allocations: 1.055 MB / 0.7745 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.5581, allocations: 55.41 kB / 0.7746 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.5598, allocations: 1.263 MB / 0.7758 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.5599, allocations: 41.7 kB / 0.7759 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.5602, allocations: 433.7 kB / 0.7763 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.5603, allocations: 153.8 kB / 0.7764 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.5604, allocations: 4 kB / 0.7764 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.5605, allocations: 322 kB / 0.7767 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005176/0.561, allocations: 268.6 kB / 0.777 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006945/0.5617, allocations: 499 kB / 0.7775 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.5623, allocations: 313 kB / 0.7778 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5623, allocations: 0 / 0.7778 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001357/0.5636, allocations: 0.761 MB / 0.7785 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.5637, allocations: 97.34 kB / 0.7786 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.5637, allocations: 0 / 0.7786 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.5637, allocations: 0 / 0.7786 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.5644, allocations: 135.8 kB / 0.7787 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.5644, allocations: 3.984 kB / 0.7787 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.5654, allocations: 123.7 kB / 0.7789 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.5655, allocations: 27.97 kB / 0.7789 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.331e-06/0.5655, allocations: 4 kB / 0.7789 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001209/0.5667, allocations: 0.6243 MB / 0.7795 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.5667, allocations: 0 / 0.7795 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-06/0.5667, allocations: 0 / 0.7795 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.5673, allocations: 135.8 kB / 0.7796 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5674, allocations: 4 kB / 0.7796 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.5684, allocations: 117.5 kB / 0.7797 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.5685, allocations: 31.97 kB / 0.7798 GB, free: 6.195 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003314/0.5688, allocations: 325 kB / 0.7801 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.569, allocations: 102.8 kB / 0.7802 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.5706, allocations: 0.8342 MB / 0.781 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.5706, allocations: 7.953 kB / 0.781 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5707, allocations: 11.88 kB / 0.781 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.5707, allocations: 0 / 0.781 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.5735, allocations: 1.978 MB / 0.7829 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5735, allocations: 4 kB / 0.783 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/0.5741, allocations: 107.8 kB / 0.7831 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5741, allocations: 4 kB / 0.7831 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.5741, allocations: 19.98 kB / 0.7831 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.5741, allocations: 4 kB / 0.7831 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5742, allocations: 128 / 0.7831 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.5761, allocations: 1.276 MB / 0.7843 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.5765, allocations: 295.6 kB / 0.7846 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.5767, allocations: 12 kB / 0.7846 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009026/0.5776, allocations: 79.88 kB / 0.7847 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.5777, allocations: 43.89 kB / 0.7847 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.5777, allocations: 27.94 kB / 0.7848 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001276/0.579, allocations: 0.9052 MB / 0.7856 GB, free: 4 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/0.579, allocations: 0 / 0.7856 GB, free: 4 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009969/0.58, allocations: 411.4 kB / 0.786 GB, free: 15.6 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 (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.0003942/0.5804, allocations: 204.6 kB / 0.7862 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.5822, allocations: 0.9745 MB / 0.7872 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5823, allocations: 0 / 0.7872 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006148/0.5829, allocations: 352 kB / 0.7875 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.5849, allocations: 469.3 kB / 0.788 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.5873, allocations: 1.932 MB / 0.7899 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.5879, allocations: 1.045 MB / 0.7909 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001064/0.589, allocations: 295 kB / 0.7912 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.5893, allocations: 99.38 kB / 0.7913 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of SimCode: time 6.82e-07/0.5893, allocations: 0 / 0.7913 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of Templates: time 0.02883/0.6181, allocations: 19.76 MB / 0.8106 GB, free: 6.703 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)