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.001338/0.001338, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.1 MB / 425.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 58 kB / 0.5053 GB, free: 5.309 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2031, allocations: 80.93 MB / 0.5844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6184/0.8215, allocations: 189.7 MB / 0.7696 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008336/0.8299, allocations: 4.276 MB / 0.7738 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.8314, allocations: 27.81 kB / 0.7738 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.8329, allocations: 0.5045 MB / 0.7743 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004086/0.837, allocations: 1.56 MB / 0.7758 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003752/0.8408, allocations: 1.333 MB / 0.7771 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002966/0.8437, allocations: 2.258 MB / 0.7793 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.8452, allocations: 1.081 MB / 0.7804 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.847, allocations: 0.9459 MB / 0.7813 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.8484, allocations: 0.86 MB / 0.7821 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002503/0.8487, allocations: 140 kB / 0.7823 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003245/0.8519, allocations: 1.247 MB / 0.7835 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004768/0.8524, allocations: 422.7 kB / 0.7839 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008433/0.8532, allocations: 0.6493 MB / 0.7845 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003049/0.8563, allocations: 1.959 MB / 0.7864 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8563, allocations: 0 / 0.7864 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8563, allocations: 0 / 0.7864 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.109e-05/0.8564, allocations: 0 / 0.7864 GB, free: 13.93 MB / 0.6075 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.004132/0.8605, allocations: 1.728 MB / 0.7881 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.8606, allocations: 12.03 kB / 0.7881 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008357/0.8614, allocations: 182.5 kB / 0.7883 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.8631, allocations: 1.041 MB / 0.7893 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.8632, allocations: 52.94 kB / 0.7894 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.8633, allocations: 59.98 kB / 0.7894 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.8645, allocations: 0.6115 MB / 0.79 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.8645, allocations: 0 / 0.79 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.683e-05/0.8646, allocations: 23.94 kB / 0.79 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.8646, allocations: 19.69 kB / 0.7901 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.8659, allocations: 0.6246 MB / 0.7907 GB, free: 9.477 MB / 0.6075 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.003884/0.8698, allocations: 2.677 MB / 0.7933 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.8709, allocations: 0.5373 MB / 0.7938 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000589/0.8715, allocations: 349.9 kB / 0.7942 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/0.8719, allocations: 287.3 kB / 0.7944 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.8719, allocations: 38.52 kB / 0.7945 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005963/0.8725, allocations: 143.5 kB / 0.7946 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.8726, allocations: 3.938 kB / 0.7946 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002249/0.8748, allocations: 1.013 MB / 0.7956 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.8749, allocations: 59.39 kB / 0.7956 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.8767, allocations: 1.275 MB / 0.7969 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/0.8768, allocations: 37.7 kB / 0.7969 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.8772, allocations: 433.7 kB / 0.7973 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.8773, allocations: 145.8 kB / 0.7975 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.8775, allocations: 121.9 kB / 0.7976 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8776, allocations: 329.9 kB / 0.7979 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/0.8782, allocations: 270.2 kB / 0.7982 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007403/0.879, allocations: 485.3 kB / 0.7986 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.8801, allocations: 0.5802 MB / 0.7992 GB, free: 392 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8801, allocations: 0 / 0.7992 GB, free: 392 kB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00153/0.8817, allocations: 0.7417 MB / 0.7999 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.8817, allocations: 8 kB / 0.7999 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.8817, allocations: 0 / 0.7999 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.8817, allocations: 0 / 0.7999 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.8824, allocations: 127.8 kB / 0.8001 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.8824, allocations: 4 kB / 0.8001 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.8836, allocations: 87 kB / 0.8001 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.8836, allocations: 27.98 kB / 0.8002 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008105/0.8845, allocations: 467.8 kB / 0.8006 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007494/0.8852, allocations: 491.1 kB / 0.8011 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001084/0.8863, allocations: 0.5797 MB / 0.8016 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.8863, allocations: 3.938 kB / 0.8017 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001547/0.8879, allocations: 0.7382 MB / 0.8024 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8879, allocations: 4 kB / 0.8024 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.8879, allocations: 0 / 0.8024 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.8879, allocations: 7.984 kB / 0.8024 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/0.8886, allocations: 127.4 kB / 0.8025 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.8886, allocations: 4 kB / 0.8025 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.89, allocations: 124.9 kB / 0.8026 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.89, allocations: 19.97 kB / 0.8026 GB, free: 12.76 MB / 0.6231 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.0002912/0.8903, allocations: 216.1 kB / 0.8029 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.8905, allocations: 102.7 kB / 0.803 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.8923, allocations: 0.7968 MB / 0.8037 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.8923, allocations: 4 kB / 0.8037 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.8923, allocations: 7.984 kB / 0.8037 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.8924, allocations: 0 / 0.8037 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.8956, allocations: 1.942 MB / 0.8056 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.8956, allocations: 4.281 kB / 0.8056 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/0.8962, allocations: 119.7 kB / 0.8058 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.8962, allocations: 7.938 kB / 0.8058 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.8962, allocations: 15.98 kB / 0.8058 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.8962, allocations: 8 kB / 0.8058 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8963, allocations: 0 / 0.8058 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.8985, allocations: 1.233 MB / 0.807 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.899, allocations: 295.5 kB / 0.8073 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.8992, allocations: 8 kB / 0.8073 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.9002, allocations: 67.97 kB / 0.8073 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.9004, allocations: 43.89 kB / 0.8074 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.9005, allocations: 19.98 kB / 0.8074 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001703/0.9022, allocations: 0.9208 MB / 0.8083 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9022, allocations: 0 / 0.8083 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001532/0.9037, allocations: 407.4 kB / 0.8087 GB, free: 6.398 MB / 0.6231 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.0007639/0.9045, allocations: 229.2 kB / 0.8089 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002422/0.9069, allocations: 0.9984 MB / 0.8099 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.9069, allocations: 0 / 0.8099 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006966/0.9076, allocations: 332.2 kB / 0.8102 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.9098, allocations: 440.6 kB / 0.8106 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.9133, allocations: 1.693 MB / 0.8123 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/0.9141, allocations: 1.045 MB / 0.8133 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001358/0.9155, allocations: 295 kB / 0.8136 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.9159, allocations: 99.38 kB / 0.8137 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of SimCode: time 1.002e-06/0.9159, allocations: 0 / 0.8137 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of Templates: time 0.04373/0.9596, allocations: 21.27 MB / 0.8344 GB, free: 12.24 MB / 0.6544 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)