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.001047/0.001047, allocations: 105 kB / 16.35 MB, free: 5.824 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.001063/0.001063, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7545/0.7545, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.89 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3115, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4902/0.8017, allocations: 189.7 MB / 0.771 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007203/0.8089, allocations: 4.29 MB / 0.7752 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.8105, allocations: 25.78 kB / 0.7752 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.812, allocations: 0.4987 MB / 0.7757 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004524/0.8166, allocations: 1.572 MB / 0.7772 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.8204, allocations: 1.343 MB / 0.7785 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00388/0.8242, allocations: 2.265 MB / 0.7807 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/0.8263, allocations: 1.08 MB / 0.7818 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.8286, allocations: 0.9482 MB / 0.7827 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.8303, allocations: 0.8712 MB / 0.7836 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005208/0.8308, allocations: 140.7 kB / 0.7837 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/0.8341, allocations: 1.249 MB / 0.7849 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007705/0.8349, allocations: 417 kB / 0.7853 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.8361, allocations: 0.6456 MB / 0.786 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.8388, allocations: 1.986 MB / 0.7879 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8388, allocations: 0.8125 kB / 0.7879 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8388, allocations: 0 / 0.7879 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.806e-05/0.8388, allocations: 0.875 kB / 0.7879 GB, free: 1.145 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.003981/0.8428, allocations: 1.722 MB / 0.7896 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.8428, allocations: 11.27 kB / 0.7896 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008427/0.8437, allocations: 183 kB / 0.7898 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.8454, allocations: 1.067 MB / 0.7908 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.8455, allocations: 46.34 kB / 0.7908 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.8456, allocations: 61.44 kB / 0.7909 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.8466, allocations: 0.6191 MB / 0.7915 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.8466, allocations: 4.969 kB / 0.7915 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.832e-05/0.8467, allocations: 19.16 kB / 0.7915 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.8468, allocations: 18.12 kB / 0.7916 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.8479, allocations: 0.6292 MB / 0.7922 GB, free: 15.83 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.003768/0.8516, allocations: 2.648 MB / 0.7948 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009351/0.8526, allocations: 0.5409 MB / 0.7953 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005275/0.8531, allocations: 352 kB / 0.7956 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003836/0.8535, allocations: 302.5 kB / 0.7959 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.8536, allocations: 40.33 kB / 0.7959 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006638/0.8542, allocations: 140.3 kB / 0.7961 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/0.8543, allocations: 0 / 0.7961 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002098/0.8564, allocations: 1.023 MB / 0.7971 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.8564, allocations: 57.78 kB / 0.7971 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.8582, allocations: 1.27 MB / 0.7984 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.8584, allocations: 42.2 kB / 0.7984 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.8587, allocations: 427.6 kB / 0.7988 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.8588, allocations: 154 kB / 0.799 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.8591, allocations: 120.2 kB / 0.7991 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.8592, allocations: 322.3 kB / 0.7994 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.8597, allocations: 273.4 kB / 0.7996 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.8604, allocations: 491.4 kB / 0.8001 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.8614, allocations: 0.5793 MB / 0.8007 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8614, allocations: 2.25 kB / 0.8007 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001446/0.8629, allocations: 0.7423 MB / 0.8014 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.8629, allocations: 5.562 kB / 0.8014 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8629, allocations: 2.594 kB / 0.8014 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.863, allocations: 2.781 kB / 0.8014 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/0.8636, allocations: 119.2 kB / 0.8015 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8636, allocations: 4.438 kB / 0.8015 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.8649, allocations: 92.2 kB / 0.8016 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.8649, allocations: 26.14 kB / 0.8017 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007692/0.8657, allocations: 466.6 kB / 0.8021 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007175/0.8665, allocations: 488.1 kB / 0.8026 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000983/0.8674, allocations: 0.592 MB / 0.8031 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.8675, allocations: 0 / 0.8031 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001491/0.869, allocations: 0.7305 MB / 0.8039 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.869, allocations: 6.938 kB / 0.8039 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.869, allocations: 3.938 kB / 0.8039 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-06/0.869, allocations: 2.469 kB / 0.8039 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.8696, allocations: 120.1 kB / 0.804 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.8696, allocations: 2.438 kB / 0.804 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.8709, allocations: 128.8 kB / 0.8041 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.107e-05/0.871, allocations: 23.52 kB / 0.8041 GB, free: 13.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.8713, allocations: 215.8 kB / 0.8043 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.8715, allocations: 106.2 kB / 0.8044 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.8731, allocations: 0.8039 MB / 0.8052 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.8731, allocations: 5.844 kB / 0.8052 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8731, allocations: 3.562 kB / 0.8052 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.8731, allocations: 6.109 kB / 0.8052 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.8763, allocations: 1.954 MB / 0.8071 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.8763, allocations: 7.625 kB / 0.8071 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.8768, allocations: 107.1 kB / 0.8073 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.8769, allocations: 4.344 kB / 0.8073 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.8769, allocations: 18.14 kB / 0.8073 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.8769, allocations: 8.25 kB / 0.8073 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8769, allocations: 5.469 kB / 0.8073 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.879, allocations: 1.23 MB / 0.8085 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006624/0.8797, allocations: 293.5 kB / 0.8088 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/0.88, allocations: 14.3 kB / 0.8088 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.881, allocations: 66.33 kB / 0.8088 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.8812, allocations: 38.19 kB / 0.8089 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.8812, allocations: 24.98 kB / 0.8089 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001471/0.8827, allocations: 0.9218 MB / 0.8098 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8827, allocations: 1.031 kB / 0.8098 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001417/0.8841, allocations: 407.2 kB / 0.8102 GB, free: 11.74 MB / 0.5919 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.0005005/0.8846, allocations: 216.7 kB / 0.8104 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001859/0.8865, allocations: 0.946 MB / 0.8113 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.8865, allocations: 3.938 kB / 0.8113 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.8871, allocations: 337.6 kB / 0.8116 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.8892, allocations: 429 kB / 0.8121 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.892, allocations: 1.673 MB / 0.8137 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/0.8927, allocations: 1.047 MB / 0.8147 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001185/0.8939, allocations: 298.2 kB / 0.815 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.8944, allocations: 97.83 kB / 0.8151 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of SimCode: time 7.31e-07/0.8944, allocations: 0 / 0.8151 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.03497/0.9294, allocations: 21.27 MB / 0.8359 GB, free: 9.41 MB / 0.6075 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)