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.001089/0.001089, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01153/0.01153, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.543/1.543, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.102/1.102, allocations: 135.3 MB / 426.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004594, allocations: 8.5 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2312, allocations: 82.31 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7643/0.9956, allocations: 184.9 MB / 0.7686 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009936/1.006, allocations: 4.281 MB / 0.7728 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/1.008, allocations: 27.81 kB / 0.7728 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/1.01, allocations: 413.6 kB / 0.7732 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005792/1.016, allocations: 1.461 MB / 0.7746 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004423/1.02, allocations: 1.232 MB / 0.7758 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004605/1.025, allocations: 2.792 MB / 0.7785 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/1.027, allocations: 0.9052 MB / 0.7794 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/1.029, allocations: 0.817 MB / 0.7802 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/1.031, allocations: 0.8092 MB / 0.781 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005072/1.031, allocations: 64 kB / 0.7811 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/1.035, allocations: 1.368 MB / 0.7824 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007417/1.036, allocations: 338.7 kB / 0.7827 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001398/1.037, allocations: 0.5806 MB / 0.7833 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00374/1.041, allocations: 1.947 MB / 0.7852 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.041, allocations: 0 / 0.7852 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.418e-06/1.041, allocations: 4 kB / 0.7852 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.666e-05/1.041, allocations: 0 / 0.7852 GB, free: 2.48 MB / 0.5919 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.005306/1.046, allocations: 1.494 MB / 0.7867 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.046, allocations: 11.97 kB / 0.7867 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/1.048, allocations: 186.5 kB / 0.7868 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/1.05, allocations: 1.037 MB / 0.7879 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/1.05, allocations: 64.92 kB / 0.7879 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/1.051, allocations: 56 kB / 0.788 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/1.052, allocations: 0.6193 MB / 0.7886 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/1.052, allocations: 0 / 0.7886 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/1.052, allocations: 28 kB / 0.7886 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/1.052, allocations: 17 kB / 0.7886 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/1.054, allocations: 0.6519 MB / 0.7893 GB, free: 14.21 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.00533/1.059, allocations: 2.677 MB / 0.7919 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/1.06, allocations: 0.5587 MB / 0.7924 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/1.061, allocations: 353.4 kB / 0.7928 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004421/1.062, allocations: 295.3 kB / 0.793 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/1.062, allocations: 42.45 kB / 0.7931 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009266/1.063, allocations: 163.5 kB / 0.7932 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 5.511e-06/1.063, allocations: 0 / 0.7932 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002637/1.065, allocations: 1.052 MB / 0.7943 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/1.065, allocations: 55.41 kB / 0.7943 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/1.068, allocations: 1.275 MB / 0.7956 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-05/1.068, allocations: 37.7 kB / 0.7956 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/1.068, allocations: 437.7 kB / 0.796 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/1.068, allocations: 145.8 kB / 0.7961 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.557e-05/1.068, allocations: 33.7 kB / 0.7962 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.069, allocations: 333.9 kB / 0.7965 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/1.069, allocations: 280.5 kB / 0.7968 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008336/1.07, allocations: 487.1 kB / 0.7972 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/1.071, allocations: 0.6148 MB / 0.7978 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.071, allocations: 0 / 0.7978 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00169/1.073, allocations: 0.769 MB / 0.7986 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.251e-05/1.073, allocations: 97.61 kB / 0.7987 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.073, allocations: 7.938 kB / 0.7987 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.073, allocations: 0 / 0.7987 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/1.074, allocations: 127.8 kB / 0.7988 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/1.074, allocations: 7.203 kB / 0.7988 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/1.075, allocations: 131.3 kB / 0.7989 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/1.075, allocations: 23.97 kB / 0.799 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.075, allocations: 4 kB / 0.799 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001321/1.077, allocations: 0.6241 MB / 0.7996 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/1.077, allocations: 4 kB / 0.7996 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.7e-06/1.077, allocations: 4 kB / 0.7996 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/1.077, allocations: 127.8 kB / 0.7997 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.077, allocations: 0 / 0.7997 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.079, allocations: 126.8 kB / 0.7998 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/1.079, allocations: 23.97 kB / 0.7998 GB, free: 3.008 MB / 0.6075 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.0005313/1.079, allocations: 333 kB / 0.8002 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/1.08, allocations: 98.78 kB / 0.8003 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/1.082, allocations: 0.8304 MB / 0.8011 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/1.082, allocations: 4 kB / 0.8011 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.082, allocations: 0 / 0.8011 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/1.082, allocations: 4 kB / 0.8011 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004481/1.086, allocations: 1.977 MB / 0.803 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/1.086, allocations: 7.984 kB / 0.803 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/1.087, allocations: 104.2 kB / 0.8031 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/1.087, allocations: 8 kB / 0.8031 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/1.087, allocations: 27.86 kB / 0.8031 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/1.087, allocations: 4 kB / 0.8032 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.087, allocations: 3.938 kB / 0.8032 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/1.09, allocations: 1.276 MB / 0.8044 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006524/1.09, allocations: 291.6 kB / 0.8047 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/1.09, allocations: 23.92 kB / 0.8047 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.092, allocations: 79.88 kB / 0.8048 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.092, allocations: 39.95 kB / 0.8048 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/1.092, allocations: 19.98 kB / 0.8048 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001786/1.094, allocations: 0.9169 MB / 0.8057 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/1.094, allocations: 0 / 0.8057 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001612/1.095, allocations: 411.4 kB / 0.8061 GB, free: 12.41 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.0006399/1.096, allocations: 216.1 kB / 0.8063 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002356/1.098, allocations: 0.9757 MB / 0.8073 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.098, allocations: 4 kB / 0.8073 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007811/1.099, allocations: 348.1 kB / 0.8076 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/1.102, allocations: 469 kB / 0.8081 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/1.106, allocations: 2.029 MB / 0.81 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008913/1.107, allocations: 1.049 MB / 0.8111 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001419/1.108, allocations: 291 kB / 0.8113 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/1.109, allocations: 99.33 kB / 0.8114 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of SimCode: time 6.11e-07/1.109, allocations: 0 / 0.8114 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of Templates: time 0.04152/1.15, allocations: 20.35 MB / 0.8313 GB, free: 2.812 MB / 0.6387 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)