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.006994/0.006994, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001331/0.001331, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8527/0.8527, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 62.56 kB / 0.5856 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2042, allocations: 80.92 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6336/0.8379, allocations: 189.7 MB / 0.8499 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007409/0.8454, allocations: 4.283 MB / 0.8541 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.8466, allocations: 33.47 kB / 0.8541 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.8481, allocations: 0.5146 MB / 0.8546 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003999/0.8521, allocations: 1.622 MB / 0.8562 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003464/0.8556, allocations: 1.354 MB / 0.8575 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.8585, allocations: 2.269 MB / 0.8597 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.8603, allocations: 1.086 MB / 0.8608 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.8621, allocations: 0.9639 MB / 0.8617 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.8635, allocations: 0.8821 MB / 0.8626 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003994/0.8639, allocations: 140.6 kB / 0.8627 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.8664, allocations: 1.243 MB / 0.8639 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.867, allocations: 422.8 kB / 0.8643 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.868, allocations: 0.6453 MB / 0.865 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.8708, allocations: 1.99 MB / 0.8669 GB, free: 64 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.8708, allocations: 0 / 0.8669 GB, free: 64 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.073e-06/0.8708, allocations: 7.938 kB / 0.8669 GB, free: 56 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.847e-05/0.8709, allocations: 3.938 kB / 0.8669 GB, free: 52 kB / 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.004621/0.8755, allocations: 1.716 MB / 0.8686 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.8756, allocations: 13.09 kB / 0.8686 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008413/0.8764, allocations: 178.4 kB / 0.8688 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.8783, allocations: 1.076 MB / 0.8698 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.8783, allocations: 44.94 kB / 0.8699 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.8784, allocations: 59.94 kB / 0.8699 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.8796, allocations: 0.6154 MB / 0.8705 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.8797, allocations: 0 / 0.8705 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.8797, allocations: 20 kB / 0.8705 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.8798, allocations: 17 kB / 0.8706 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.8811, allocations: 0.6207 MB / 0.8712 GB, free: 11.57 MB / 0.6387 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.004261/0.8854, allocations: 2.658 MB / 0.8738 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.8865, allocations: 0.5467 MB / 0.8743 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006424/0.8872, allocations: 348.6 kB / 0.8746 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003767/0.8876, allocations: 287.3 kB / 0.8749 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.8876, allocations: 34.56 kB / 0.8749 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006315/0.8882, allocations: 147.4 kB / 0.8751 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/0.8883, allocations: 4 kB / 0.8751 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002433/0.8907, allocations: 1.016 MB / 0.8761 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.8908, allocations: 55.41 kB / 0.8761 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.8927, allocations: 1.279 MB / 0.8774 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/0.8928, allocations: 37.7 kB / 0.8774 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.8932, allocations: 433.7 kB / 0.8778 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.8933, allocations: 149.8 kB / 0.878 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.8936, allocations: 118 kB / 0.8781 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8937, allocations: 322 kB / 0.8784 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/0.8943, allocations: 270.2 kB / 0.8786 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008174/0.8951, allocations: 490 kB / 0.8791 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.8964, allocations: 0.5908 MB / 0.8797 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.8964, allocations: 3.938 kB / 0.8797 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001565/0.8979, allocations: 0.7301 MB / 0.8804 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.898, allocations: 8 kB / 0.8804 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.898, allocations: 0 / 0.8804 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.898, allocations: 4 kB / 0.8804 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/0.8987, allocations: 127.8 kB / 0.8805 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.8987, allocations: 0 / 0.8805 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.9, allocations: 106 kB / 0.8806 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.9, allocations: 23.92 kB / 0.8807 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008588/0.9009, allocations: 467.9 kB / 0.8811 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007623/0.9017, allocations: 490 kB / 0.8816 GB, free: 472 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001203/0.9029, allocations: 0.5837 MB / 0.8821 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.9029, allocations: 0 / 0.8821 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001583/0.9045, allocations: 0.7376 MB / 0.8829 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.9045, allocations: 12 kB / 0.8829 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.9045, allocations: 1.641 kB / 0.8829 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.608e-06/0.9045, allocations: 0 / 0.8829 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/0.9052, allocations: 123.8 kB / 0.883 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.9052, allocations: 0 / 0.883 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.9066, allocations: 120.3 kB / 0.8831 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.9067, allocations: 27.97 kB / 0.8831 GB, free: 14.85 MB / 0.6544 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.0002258/0.9069, allocations: 204.1 kB / 0.8833 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.9071, allocations: 107.6 kB / 0.8834 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.909, allocations: 0.8121 MB / 0.8842 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.909, allocations: 4 kB / 0.8842 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.909, allocations: 3.984 kB / 0.8842 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.909, allocations: 0 / 0.8842 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.9124, allocations: 1.95 MB / 0.8861 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.9124, allocations: 7.938 kB / 0.8861 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/0.913, allocations: 103.5 kB / 0.8862 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.913, allocations: 8 kB / 0.8862 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.9131, allocations: 19.92 kB / 0.8863 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.679e-06/0.9131, allocations: 7.938 kB / 0.8863 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.9131, allocations: 4 kB / 0.8863 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.9153, allocations: 1.237 MB / 0.8875 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.9158, allocations: 291.6 kB / 0.8878 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.916, allocations: 19.92 kB / 0.8878 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.9171, allocations: 59.92 kB / 0.8878 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.9172, allocations: 43.94 kB / 0.8879 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.9172, allocations: 16 kB / 0.8879 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001619/0.9189, allocations: 0.9247 MB / 0.8888 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9189, allocations: 3.938 kB / 0.8888 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001318/0.9202, allocations: 403.4 kB / 0.8892 GB, free: 8.484 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.0005839/0.9208, allocations: 225.4 kB / 0.8894 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.923, allocations: 0.9399 MB / 0.8903 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.923, allocations: 0 / 0.8903 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006924/0.9237, allocations: 340 kB / 0.8906 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.9259, allocations: 434.5 kB / 0.8911 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.9288, allocations: 1.668 MB / 0.8927 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/0.9296, allocations: 1.041 MB / 0.8937 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00109/0.9307, allocations: 295 kB / 0.894 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.931, allocations: 103.4 kB / 0.8941 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.9311, allocations: 0 / 0.8941 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of Templates: time 0.03749/0.9686, allocations: 21.39 MB / 0.915 GB, free: 14.19 MB / 0.6856 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)