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.0009657/0.0009656, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 184 kB / 16.92 MB, free: 6.922 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9075/0.9075, allocations: 135.3 MB / 427.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003229, allocations: 8.625 kB / 0.5082 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.146, allocations: 82.32 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4556/0.6016, allocations: 184.9 MB / 0.7692 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007228/0.6089, allocations: 4.267 MB / 0.7734 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.61, allocations: 23.81 kB / 0.7734 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.6113, allocations: 425.6 kB / 0.7738 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.6149, allocations: 1.455 MB / 0.7752 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.618, allocations: 1.235 MB / 0.7765 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003268/0.6213, allocations: 2.788 MB / 0.7792 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.6227, allocations: 0.9091 MB / 0.7801 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.6242, allocations: 0.8131 MB / 0.7809 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.6252, allocations: 0.8208 MB / 0.7817 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.6254, allocations: 59.94 kB / 0.7817 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.6278, allocations: 1.372 MB / 0.7831 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.6282, allocations: 326.8 kB / 0.7834 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007121/0.6289, allocations: 0.5766 MB / 0.7839 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.6305, allocations: 1.488 MB / 0.7854 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.6305, allocations: 0 / 0.7854 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6305, allocations: 0 / 0.7854 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.6305, allocations: 0 / 0.7854 GB, free: 2.965 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.003786/0.6343, allocations: 1.5 MB / 0.7868 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.6344, allocations: 11.97 kB / 0.7869 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000799/0.6352, allocations: 182.5 kB / 0.787 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.6369, allocations: 1.037 MB / 0.788 GB, free: 136 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.6371, allocations: 52.92 kB / 0.7881 GB, free: 80 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.6372, allocations: 64 kB / 0.7882 GB, free: 16 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.6384, allocations: 0.6232 MB / 0.7888 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.6385, allocations: 0 / 0.7888 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.6385, allocations: 20 kB / 0.7888 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.6386, allocations: 21 kB / 0.7888 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.6399, allocations: 0.6519 MB / 0.7894 GB, free: 14.7 MB / 0.6075 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.004004/0.6439, allocations: 2.67 MB / 0.792 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.6451, allocations: 0.5529 MB / 0.7926 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006919/0.6458, allocations: 365.4 kB / 0.7929 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003852/0.6462, allocations: 291.3 kB / 0.7932 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.6462, allocations: 46.45 kB / 0.7933 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007064/0.6469, allocations: 163.5 kB / 0.7934 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/0.647, allocations: 0 / 0.7934 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.00235/0.6493, allocations: 1.06 MB / 0.7945 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.6494, allocations: 55.41 kB / 0.7945 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.6513, allocations: 1.271 MB / 0.7957 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/0.6514, allocations: 41.69 kB / 0.7958 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/0.6518, allocations: 433.7 kB / 0.7962 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.652, allocations: 149.8 kB / 0.7963 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.6521, allocations: 37.7 kB / 0.7964 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6522, allocations: 325.9 kB / 0.7967 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/0.6528, allocations: 276.6 kB / 0.797 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007941/0.6536, allocations: 491.1 kB / 0.7974 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.6548, allocations: 0.6148 MB / 0.798 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6548, allocations: 4 kB / 0.798 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001579/0.6564, allocations: 0.7651 MB / 0.7988 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/0.6565, allocations: 97.61 kB / 0.7989 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6565, allocations: 0 / 0.7989 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.6565, allocations: 4 kB / 0.7989 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/0.6572, allocations: 131.8 kB / 0.799 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.6572, allocations: 0 / 0.799 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.6584, allocations: 132.4 kB / 0.7991 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.6585, allocations: 27.97 kB / 0.7991 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-06/0.6585, allocations: 0 / 0.7991 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001343/0.6599, allocations: 0.6358 MB / 0.7998 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.6599, allocations: 0 / 0.7998 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-06/0.6599, allocations: 0 / 0.7998 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.6605, allocations: 127.8 kB / 0.7999 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6605, allocations: 4 kB / 0.7999 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.6617, allocations: 127 kB / 0.8 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.6618, allocations: 23.97 kB / 0.8 GB, free: 3.488 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.0004376/0.6623, allocations: 329 kB / 0.8004 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.6624, allocations: 98.78 kB / 0.8004 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.6642, allocations: 0.8304 MB / 0.8013 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.6643, allocations: 11.94 kB / 0.8013 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6643, allocations: 0 / 0.8013 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.6643, allocations: 3.984 kB / 0.8013 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/0.6675, allocations: 1.969 MB / 0.8032 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6675, allocations: 0 / 0.8032 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.6681, allocations: 119.7 kB / 0.8033 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.6682, allocations: 8 kB / 0.8033 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.6682, allocations: 16.22 kB / 0.8033 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.6682, allocations: 8 kB / 0.8033 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6682, allocations: 4 kB / 0.8033 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.6704, allocations: 1.272 MB / 0.8046 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.6709, allocations: 295.6 kB / 0.8049 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.671, allocations: 15.94 kB / 0.8049 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.672, allocations: 79.88 kB / 0.805 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.6722, allocations: 47.88 kB / 0.805 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/0.6722, allocations: 20 kB / 0.805 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001495/0.6737, allocations: 0.9169 MB / 0.8059 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6738, allocations: 0 / 0.8059 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00113/0.6749, allocations: 407.4 kB / 0.8063 GB, free: 12.89 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.0005254/0.6754, allocations: 222.8 kB / 0.8065 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002078/0.6775, allocations: 0.9756 MB / 0.8075 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6775, allocations: 0 / 0.8075 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.6782, allocations: 347.6 kB / 0.8078 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.681, allocations: 473.2 kB / 0.8083 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.6839, allocations: 2.077 MB / 0.8103 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/0.6845, allocations: 1.049 MB / 0.8113 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.6849, allocations: 95.38 kB / 0.8114 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.6849, allocations: 0 / 0.8114 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of Templates: time 0.02496/0.7099, allocations: 16.25 MB / 0.8273 GB, free: 7.523 MB / 0.6387 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)