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.00108/0.00108, allocations: 109.4 kB / 16.37 MB, free: 6.477 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.00105/0.00105, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7279/0.7279, allocations: 132.2 MB / 423.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.284, allocations: 80.18 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4412/0.7253, allocations: 189.7 MB / 0.7667 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006167/0.7315, allocations: 4.281 MB / 0.7709 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000769/0.7323, allocations: 29.47 kB / 0.7709 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.7333, allocations: 0.5014 MB / 0.7714 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.736, allocations: 1.565 MB / 0.773 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.7386, allocations: 1.349 MB / 0.7743 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002396/0.741, allocations: 2.264 MB / 0.7765 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.7421, allocations: 1.084 MB / 0.7775 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.7434, allocations: 0.9507 MB / 0.7785 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009382/0.7444, allocations: 0.8681 MB / 0.7793 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.7446, allocations: 141.7 kB / 0.7794 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.7466, allocations: 1.249 MB / 0.7807 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003133/0.7469, allocations: 418.2 kB / 0.7811 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005436/0.7475, allocations: 0.6509 MB / 0.7817 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.7492, allocations: 1.982 MB / 0.7836 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.7492, allocations: 0.9375 kB / 0.7836 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.21e-07/0.7492, allocations: 0 / 0.7836 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.7493, allocations: 0 / 0.7836 GB, free: 1.254 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.003521/0.7528, allocations: 1.726 MB / 0.7853 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.7528, allocations: 10.44 kB / 0.7853 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00073/0.7536, allocations: 185.3 kB / 0.7855 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.7552, allocations: 1.067 MB / 0.7866 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.7552, allocations: 42.12 kB / 0.7866 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-05/0.7553, allocations: 60.78 kB / 0.7867 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009606/0.7563, allocations: 0.6183 MB / 0.7873 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7563, allocations: 3.094 kB / 0.7873 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/0.7564, allocations: 18.66 kB / 0.7873 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.7564, allocations: 17.47 kB / 0.7873 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.7574, allocations: 0.6223 MB / 0.7879 GB, free: 15.95 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.003438/0.7609, allocations: 2.663 MB / 0.7905 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/0.7618, allocations: 0.5373 MB / 0.791 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.7623, allocations: 347.6 kB / 0.7914 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.7627, allocations: 292.2 kB / 0.7916 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.7627, allocations: 45.2 kB / 0.7917 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005345/0.7632, allocations: 143.3 kB / 0.7918 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/0.7632, allocations: 0 / 0.7918 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.001858/0.7651, allocations: 1.017 MB / 0.7928 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.7651, allocations: 61.03 kB / 0.7929 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.7666, allocations: 1.27 MB / 0.7941 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.7667, allocations: 43.11 kB / 0.7941 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.7669, allocations: 429.7 kB / 0.7946 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.767, allocations: 151.3 kB / 0.7947 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.7672, allocations: 117.8 kB / 0.7948 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7673, allocations: 324.5 kB / 0.7951 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.7678, allocations: 272.9 kB / 0.7954 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.7684, allocations: 493.1 kB / 0.7959 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009208/0.7694, allocations: 0.581 MB / 0.7964 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7694, allocations: 0 / 0.7964 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001219/0.7706, allocations: 0.7536 MB / 0.7972 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.7706, allocations: 4.438 kB / 0.7972 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.7706, allocations: 7.25 kB / 0.7972 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.7707, allocations: 0.8125 kB / 0.7972 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.7712, allocations: 125.2 kB / 0.7973 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7713, allocations: 3.062 kB / 0.7973 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.7723, allocations: 91.69 kB / 0.7974 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.7724, allocations: 23.5 kB / 0.7974 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006389/0.773, allocations: 466.2 kB / 0.7978 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006123/0.7736, allocations: 490.3 kB / 0.7983 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009084/0.7746, allocations: 0.5871 MB / 0.7989 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.7746, allocations: 0 / 0.7989 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001208/0.7758, allocations: 0.7282 MB / 0.7996 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.7758, allocations: 11.03 kB / 0.7996 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.7758, allocations: 0 / 0.7996 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-06/0.7758, allocations: 2.375 kB / 0.7996 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.7764, allocations: 120.5 kB / 0.7997 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.7764, allocations: 3.562 kB / 0.7997 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.7775, allocations: 121.5 kB / 0.7998 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.7776, allocations: 24.25 kB / 0.7999 GB, free: 13.14 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.0001669/0.7778, allocations: 207.9 kB / 0.8001 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.7779, allocations: 109.3 kB / 0.8002 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.7793, allocations: 0.8036 MB / 0.801 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.7794, allocations: 4.812 kB / 0.801 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.7794, allocations: 0 / 0.801 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.7794, allocations: 7.422 kB / 0.801 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.782, allocations: 1.962 MB / 0.8029 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7821, allocations: 2 kB / 0.8029 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.7826, allocations: 103.3 kB / 0.803 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.7826, allocations: 11.69 kB / 0.803 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.7826, allocations: 12.66 kB / 0.803 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.7826, allocations: 5.062 kB / 0.803 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.7826, allocations: 6.781 kB / 0.803 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.7843, allocations: 1.236 MB / 0.8042 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/0.7848, allocations: 294.5 kB / 0.8045 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.7849, allocations: 15.67 kB / 0.8045 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008785/0.7858, allocations: 62.67 kB / 0.8046 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/0.7859, allocations: 46.45 kB / 0.8046 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.7859, allocations: 20.98 kB / 0.8046 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001104/0.787, allocations: 0.9216 MB / 0.8055 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7871, allocations: 0.8125 kB / 0.8055 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009348/0.788, allocations: 402.7 kB / 0.8059 GB, free: 11.86 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.0004118/0.7884, allocations: 219.6 kB / 0.8061 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.79, allocations: 0.9406 MB / 0.8071 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.79, allocations: 4.281 kB / 0.8071 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005266/0.7906, allocations: 332.3 kB / 0.8074 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.7921, allocations: 444.8 kB / 0.8078 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.7943, allocations: 1.677 MB / 0.8094 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.7948, allocations: 1.046 MB / 0.8105 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008336/0.7956, allocations: 293.2 kB / 0.8107 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.796, allocations: 99.97 kB / 0.8108 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.796, allocations: 0 / 0.8108 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.9072/1.703, allocations: 21.26 MB / 0.8316 GB, free: 10.82 MB / 0.6075 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)