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.0008863/0.0008863, allocations: 84.38 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.0009084/0.0009084, 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.577/1.577, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9865/0.9865, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003586, allocations: 8.625 kB / 0.507 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.207, allocations: 82.3 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7294/0.9364, allocations: 172.5 MB / 0.7559 GB, free: 272 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009111/0.9457, allocations: 4.076 MB / 0.7598 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.9473, allocations: 27.81 kB / 0.7599 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.9487, allocations: 329.7 kB / 0.7602 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.9532, allocations: 1.127 MB / 0.7613 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.9569, allocations: 1.017 MB / 0.7623 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004062/0.961, allocations: 2.396 MB / 0.7646 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.9626, allocations: 0.8496 MB / 0.7654 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.9645, allocations: 0.8132 MB / 0.7662 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.9661, allocations: 0.7822 MB / 0.767 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.9663, allocations: 56 kB / 0.7671 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.9691, allocations: 0.799 MB / 0.7678 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004466/0.9696, allocations: 330.8 kB / 0.7682 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004303/0.97, allocations: 225.1 kB / 0.7684 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.972, allocations: 1.457 MB / 0.7698 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.972, allocations: 4 kB / 0.7698 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.425e-06/0.972, allocations: 0 / 0.7698 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.9721, allocations: 4 kB / 0.7698 GB, free: 2.215 MB / 0.5762 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.003968/0.976, allocations: 1.506 MB / 0.7713 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.9761, allocations: 15.97 kB / 0.7713 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008629/0.977, allocations: 178.5 kB / 0.7715 GB, free: 480 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.9789, allocations: 1.011 MB / 0.7724 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.979, allocations: 56.97 kB / 0.7725 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.9791, allocations: 56 kB / 0.7726 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.9804, allocations: 0.6193 MB / 0.7732 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.9805, allocations: 0 / 0.7732 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.9805, allocations: 20 kB / 0.7732 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.9806, allocations: 17 kB / 0.7732 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.9819, allocations: 0.648 MB / 0.7738 GB, free: 13.98 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.00467/0.9866, allocations: 2.677 MB / 0.7764 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.9877, allocations: 0.5482 MB / 0.777 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006588/0.9884, allocations: 357.4 kB / 0.7773 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/0.9889, allocations: 295.2 kB / 0.7776 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.989, allocations: 38.52 kB / 0.7776 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008663/0.9899, allocations: 167.4 kB / 0.7778 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 3.536e-06/0.9899, allocations: 0 / 0.7778 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002457/0.9923, allocations: 1.056 MB / 0.7788 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.9924, allocations: 55.41 kB / 0.7789 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.9945, allocations: 1.259 MB / 0.7801 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.951e-05/0.9946, allocations: 37.7 kB / 0.7801 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.995, allocations: 437.7 kB / 0.7806 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.9952, allocations: 149.8 kB / 0.7807 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.9952, allocations: 12 kB / 0.7807 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.9954, allocations: 318 kB / 0.781 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.996, allocations: 280.5 kB / 0.7813 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007769/0.9967, allocations: 484.2 kB / 0.7817 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/0.9974, allocations: 327.7 kB / 0.7821 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.9974, allocations: 0 / 0.7821 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001583/0.999, allocations: 0.7534 MB / 0.7828 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.568e-05/0.9991, allocations: 97.44 kB / 0.7829 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.9991, allocations: 3.984 kB / 0.7829 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.9991, allocations: 4 kB / 0.7829 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.9998, allocations: 127.8 kB / 0.783 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.9998, allocations: 5.828 kB / 0.783 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.001, allocations: 123.7 kB / 0.7831 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/1.001, allocations: 27.97 kB / 0.7832 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.001, allocations: 4 kB / 0.7832 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/1.002, allocations: 0.6281 MB / 0.7838 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/1.002, allocations: 0 / 0.7838 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/1.002, allocations: 4 kB / 0.7838 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/1.003, allocations: 127.8 kB / 0.7839 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/1.003, allocations: 3.953 kB / 0.7839 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.004, allocations: 130.3 kB / 0.784 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/1.004, allocations: 24.84 kB / 0.7841 GB, free: 3.148 MB / 0.5919 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.0007381/1.005, allocations: 329 kB / 0.7844 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/1.005, allocations: 98.78 kB / 0.7845 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/1.007, allocations: 0.831 MB / 0.7853 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.007, allocations: 4 kB / 0.7853 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.007, allocations: 11.95 kB / 0.7853 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/1.007, allocations: 0 / 0.7853 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/1.01, allocations: 1.965 MB / 0.7872 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/1.01, allocations: 7.047 kB / 0.7872 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/1.011, allocations: 112.2 kB / 0.7873 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/1.011, allocations: 8 kB / 0.7873 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/1.011, allocations: 15.98 kB / 0.7874 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/1.011, allocations: 4 kB / 0.7874 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.636e-05/1.011, allocations: 7.938 kB / 0.7874 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/1.013, allocations: 1.272 MB / 0.7886 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/1.014, allocations: 295.6 kB / 0.7889 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/1.014, allocations: 20.05 kB / 0.7889 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009305/1.015, allocations: 79.75 kB / 0.789 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.015, allocations: 39.95 kB / 0.789 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/1.015, allocations: 23.98 kB / 0.789 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001473/1.017, allocations: 0.9091 MB / 0.7899 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/1.017, allocations: 0 / 0.7899 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001262/1.018, allocations: 411.3 kB / 0.7903 GB, free: 12.56 MB / 0.6075 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.0005446/1.018, allocations: 221.1 kB / 0.7905 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002033/1.02, allocations: 0.9679 MB / 0.7915 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/1.02, allocations: 0 / 0.7915 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007038/1.021, allocations: 352.1 kB / 0.7918 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/1.024, allocations: 466 kB / 0.7923 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/1.027, allocations: 1.927 MB / 0.7941 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/1.027, allocations: 1.049 MB / 0.7952 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00127/1.028, allocations: 283.1 kB / 0.7954 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/1.029, allocations: 99.31 kB / 0.7955 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/1.029, allocations: 0 / 0.7955 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of Templates: time 0.03742/1.066, allocations: 19.76 MB / 0.8148 GB, free: 3.676 MB / 0.6231 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)