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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001171/0.001171, allocations: 194.7 kB / 16.14 MB, free: 6.66 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7347/0.7347, allocations: 132.2 MB / 422.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 68.33 kB / 0.5011 GB, free: 9.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1887, allocations: 80.21 MB / 0.5794 GB, free: 9.273 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.568/0.7568, allocations: 187.4 MB / 0.7625 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009503/0.7663, allocations: 4.305 MB / 0.7667 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.7684, allocations: 27.81 kB / 0.7667 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.7702, allocations: 413.7 kB / 0.7671 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00504/0.7753, allocations: 1.464 MB / 0.7685 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003981/0.7793, allocations: 1.225 MB / 0.7697 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003947/0.7833, allocations: 2.78 MB / 0.7724 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.7848, allocations: 0.9413 MB / 0.7734 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.7866, allocations: 0.8248 MB / 0.7742 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.7882, allocations: 0.8443 MB / 0.775 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.7884, allocations: 67.94 kB / 0.7751 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.7914, allocations: 1.376 MB / 0.7764 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004312/0.7918, allocations: 350.7 kB / 0.7767 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.7928, allocations: 0.5711 MB / 0.7773 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.7963, allocations: 1.986 MB / 0.7792 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7963, allocations: 8 kB / 0.7792 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.41e-07/0.7963, allocations: 0 / 0.7792 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.7964, allocations: 0 / 0.7792 GB, free: 6.766 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.004634/0.801, allocations: 1.726 MB / 0.7809 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.801, allocations: 12.02 kB / 0.7809 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009037/0.802, allocations: 178.5 kB / 0.7811 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.8039, allocations: 1.041 MB / 0.7821 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.804, allocations: 56.91 kB / 0.7822 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.8041, allocations: 60 kB / 0.7822 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.8054, allocations: 0.6192 MB / 0.7828 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.8054, allocations: 1.062 kB / 0.7828 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.016e-05/0.8055, allocations: 23.98 kB / 0.7829 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.8055, allocations: 17 kB / 0.7829 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.8069, allocations: 0.6168 MB / 0.7835 GB, free: 2.312 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.004238/0.8111, allocations: 2.654 MB / 0.7861 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.8123, allocations: 0.5412 MB / 0.7866 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006477/0.813, allocations: 357.3 kB / 0.7869 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/0.8134, allocations: 283.3 kB / 0.7872 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.8134, allocations: 42.52 kB / 0.7873 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007935/0.8142, allocations: 159.5 kB / 0.7874 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.635e-06/0.8142, allocations: 0 / 0.7874 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002639/0.8169, allocations: 1.024 MB / 0.7884 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.8169, allocations: 59.41 kB / 0.7885 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.8191, allocations: 1.271 MB / 0.7897 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.8192, allocations: 37.7 kB / 0.7897 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.8196, allocations: 429.7 kB / 0.7902 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.8198, allocations: 149.8 kB / 0.7903 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.82, allocations: 121.9 kB / 0.7904 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8202, allocations: 329.9 kB / 0.7907 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/0.8208, allocations: 274.2 kB / 0.791 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008319/0.8216, allocations: 499.3 kB / 0.7915 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.8228, allocations: 0.5752 MB / 0.792 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.8229, allocations: 0 / 0.792 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001602/0.8245, allocations: 0.7379 MB / 0.7927 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.8245, allocations: 11.98 kB / 0.7928 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8245, allocations: 0 / 0.7928 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.8245, allocations: 0 / 0.7928 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.8252, allocations: 123.8 kB / 0.7929 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.8252, allocations: 0 / 0.7929 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.8266, allocations: 118.4 kB / 0.793 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.804e-05/0.8267, allocations: 19.98 kB / 0.793 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008659/0.8276, allocations: 467.9 kB / 0.7935 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008058/0.8284, allocations: 487.5 kB / 0.7939 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001165/0.8296, allocations: 0.5849 MB / 0.7945 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/0.8296, allocations: 7.875 kB / 0.7945 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001592/0.8312, allocations: 0.7313 MB / 0.7952 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.8312, allocations: 4 kB / 0.7952 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.8312, allocations: 7.938 kB / 0.7952 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.8312, allocations: 0 / 0.7952 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.8319, allocations: 123.8 kB / 0.7953 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.8319, allocations: 0 / 0.7953 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.8334, allocations: 138.4 kB / 0.7955 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.8335, allocations: 19.97 kB / 0.7955 GB, free: 5.566 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000263/0.8337, allocations: 212.1 kB / 0.7957 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.8339, allocations: 102.7 kB / 0.7958 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.8358, allocations: 0.8007 MB / 0.7966 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.8358, allocations: 4 kB / 0.7966 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8358, allocations: 0 / 0.7966 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.8358, allocations: 3.984 kB / 0.7966 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/0.8392, allocations: 1.954 MB / 0.7985 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.8392, allocations: 4 kB / 0.7985 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.8398, allocations: 104.2 kB / 0.7986 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.8398, allocations: 15.86 kB / 0.7986 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.8398, allocations: 12 kB / 0.7986 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.8399, allocations: 8 kB / 0.7986 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.8399, allocations: 3.938 kB / 0.7986 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.8422, allocations: 1.233 MB / 0.7998 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.8426, allocations: 295.5 kB / 0.8001 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.8428, allocations: 19.92 kB / 0.8001 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.8438, allocations: 75.97 kB / 0.8002 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.844, allocations: 39.95 kB / 0.8002 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.945e-05/0.8441, allocations: 23.98 kB / 0.8003 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001483/0.8455, allocations: 0.913 MB / 0.8012 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8456, allocations: 4 kB / 0.8012 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00126/0.8468, allocations: 411.4 kB / 0.8016 GB, free: 15.18 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 (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.0005928/0.8474, allocations: 214.8 kB / 0.8018 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.8495, allocations: 0.9357 MB / 0.8027 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.8495, allocations: 0 / 0.8027 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/0.8502, allocations: 340 kB / 0.803 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.8525, allocations: 463.9 kB / 0.8034 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.8554, allocations: 2.003 MB / 0.8054 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/0.856, allocations: 1.045 MB / 0.8064 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001186/0.8572, allocations: 289.9 kB / 0.8067 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.8576, allocations: 99.38 kB / 0.8068 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of SimCode: time 8.51e-07/0.8576, allocations: 3.938 kB / 0.8068 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of Templates: time 0.03769/0.8953, allocations: 20.57 MB / 0.8269 GB, free: 5.457 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)