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.001099/0.001099, allocations: 105 kB / 16.4 MB, free: 6.453 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.001064/0.001064, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7994/0.7994, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 65.78 kB / 0.582 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1677, allocations: 80.2 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5953/0.763, allocations: 189.7 MB / 0.8456 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00831/0.7714, allocations: 4.273 MB / 0.8497 GB, free: 124 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.7727, allocations: 29.41 kB / 0.8498 GB, free: 112 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.7744, allocations: 0.5071 MB / 0.8503 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00401/0.7784, allocations: 1.565 MB / 0.8518 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.782, allocations: 1.346 MB / 0.8531 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003317/0.7853, allocations: 2.266 MB / 0.8553 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.7869, allocations: 1.079 MB / 0.8564 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.7889, allocations: 0.9648 MB / 0.8573 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.7903, allocations: 0.8696 MB / 0.8582 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.7905, allocations: 141.1 kB / 0.8583 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.7934, allocations: 1.242 MB / 0.8595 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004729/0.7939, allocations: 427.5 kB / 0.8599 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007509/0.7946, allocations: 0.6468 MB / 0.8605 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.7973, allocations: 1.997 MB / 0.8625 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7973, allocations: 0 / 0.8625 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7973, allocations: 0 / 0.8625 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.7974, allocations: 0 / 0.8625 GB, free: 6.871 MB / 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.004234/0.8016, allocations: 1.724 MB / 0.8642 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.8016, allocations: 8.031 kB / 0.8642 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008364/0.8025, allocations: 186.4 kB / 0.8644 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.8044, allocations: 1.065 MB / 0.8654 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.8044, allocations: 44.94 kB / 0.8654 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.8046, allocations: 60 kB / 0.8655 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.8058, allocations: 0.6154 MB / 0.8661 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.8058, allocations: 0 / 0.8661 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.8059, allocations: 16 kB / 0.8661 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.8059, allocations: 21 kB / 0.8661 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.8072, allocations: 0.6284 MB / 0.8668 GB, free: 2.395 MB / 0.6231 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.00414/0.8113, allocations: 2.658 MB / 0.8693 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.8125, allocations: 0.5352 MB / 0.8699 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006359/0.8131, allocations: 352.6 kB / 0.8702 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/0.8136, allocations: 287.2 kB / 0.8705 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.8136, allocations: 34.56 kB / 0.8705 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000622/0.8142, allocations: 147.4 kB / 0.8707 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.484e-06/0.8142, allocations: 4 kB / 0.8707 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002321/0.8166, allocations: 1.02 MB / 0.8717 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.8166, allocations: 59.39 kB / 0.8717 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.8185, allocations: 1.271 MB / 0.873 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.8186, allocations: 37.7 kB / 0.873 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.819, allocations: 437.7 kB / 0.8734 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.8192, allocations: 149.8 kB / 0.8735 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.8194, allocations: 118 kB / 0.8737 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8195, allocations: 318 kB / 0.874 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.8201, allocations: 277 kB / 0.8742 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007829/0.8209, allocations: 485.1 kB / 0.8747 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.8221, allocations: 0.591 MB / 0.8753 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.8221, allocations: 3.938 kB / 0.8753 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001485/0.8236, allocations: 0.7376 MB / 0.876 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.8236, allocations: 8 kB / 0.876 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8236, allocations: 7.938 kB / 0.876 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.8236, allocations: 0 / 0.876 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/0.8243, allocations: 123.8 kB / 0.8761 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8243, allocations: 0 / 0.8761 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.8255, allocations: 98.48 kB / 0.8762 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/0.8255, allocations: 27.97 kB / 0.8762 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008193/0.8264, allocations: 463.9 kB / 0.8767 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007479/0.8271, allocations: 490.1 kB / 0.8772 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001155/0.8283, allocations: 0.5812 MB / 0.8777 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.8283, allocations: 0 / 0.8777 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001457/0.8298, allocations: 0.7381 MB / 0.8784 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.8298, allocations: 9.875 kB / 0.8785 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.8298, allocations: 0 / 0.8785 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/0.8298, allocations: 4 kB / 0.8785 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.8304, allocations: 119.8 kB / 0.8786 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.8304, allocations: 4 kB / 0.8786 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.8317, allocations: 124.9 kB / 0.8787 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.8318, allocations: 19.97 kB / 0.8787 GB, free: 5.684 MB / 0.6387 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.000201/0.832, allocations: 212.1 kB / 0.8789 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.8322, allocations: 110.7 kB / 0.879 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.8339, allocations: 0.8085 MB / 0.8798 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.8339, allocations: 4 kB / 0.8798 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8339, allocations: 0 / 0.8798 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.8339, allocations: 0 / 0.8798 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.837, allocations: 1.951 MB / 0.8817 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.8371, allocations: 4 kB / 0.8817 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.8376, allocations: 111.8 kB / 0.8818 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.8376, allocations: 4 kB / 0.8818 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.938e-05/0.8377, allocations: 19.94 kB / 0.8819 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.8377, allocations: 4 kB / 0.8819 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8377, allocations: 0.875 kB / 0.8819 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.8399, allocations: 1.233 MB / 0.8831 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000499/0.8404, allocations: 303.6 kB / 0.8834 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.8406, allocations: 15.94 kB / 0.8834 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009722/0.8416, allocations: 55.92 kB / 0.8834 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.8417, allocations: 51.88 kB / 0.8835 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.8418, allocations: 16 kB / 0.8835 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00158/0.8434, allocations: 0.9208 MB / 0.8844 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8434, allocations: 0 / 0.8844 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001202/0.8446, allocations: 411.4 kB / 0.8848 GB, free: 15.31 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.0005318/0.8451, allocations: 211.4 kB / 0.885 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.8472, allocations: 0.9512 MB / 0.8859 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.8472, allocations: 0 / 0.8859 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000645/0.8479, allocations: 339.9 kB / 0.8862 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.8498, allocations: 439.8 kB / 0.8866 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.8528, allocations: 1.713 MB / 0.8883 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007284/0.8535, allocations: 1.041 MB / 0.8893 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/0.8539, allocations: 99.38 kB / 0.8894 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.8539, allocations: 3.938 kB / 0.8894 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.0264/0.8803, allocations: 16.48 MB / 0.9055 GB, free: 10.12 MB / 0.67 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)