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.001464/0.001465, allocations: 109.2 kB / 15.99 MB, free: 6.352 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.001763/0.001763, allocations: 194.1 kB / 16.91 MB, free: 6.184 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8024/0.8024, allocations: 135.1 MB / 425.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 59.89 kB / 0.5055 GB, free: 8.777 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3946, allocations: 80.92 MB / 0.5845 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5855/0.9801, allocations: 187.2 MB / 0.7673 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007329/0.9875, allocations: 4.258 MB / 0.7715 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.9889, allocations: 25.5 kB / 0.7715 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.9903, allocations: 437.1 kB / 0.7719 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.9941, allocations: 1.462 MB / 0.7733 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.9976, allocations: 1.244 MB / 0.7746 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003055/1.001, allocations: 2.267 MB / 0.7768 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/1.002, allocations: 1.057 MB / 0.7778 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/1.004, allocations: 0.9694 MB / 0.7788 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/1.005, allocations: 0.899 MB / 0.7796 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002016/1.005, allocations: 140.9 kB / 0.7798 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/1.008, allocations: 1.284 MB / 0.781 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/1.008, allocations: 420 kB / 0.7814 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006617/1.009, allocations: 0.6452 MB / 0.782 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/1.01, allocations: 1.543 MB / 0.7836 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.011, allocations: 1.312 kB / 0.7836 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/1.011, allocations: 0.7188 kB / 0.7836 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.84e-05/1.011, allocations: 0 / 0.7836 GB, free: 1.359 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.004259/1.015, allocations: 1.728 MB / 0.7852 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.015, allocations: 11.55 kB / 0.7853 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008438/1.016, allocations: 181.5 kB / 0.7854 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/1.017, allocations: 1.038 MB / 0.7864 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/1.017, allocations: 52.52 kB / 0.7865 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/1.018, allocations: 57.78 kB / 0.7865 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/1.019, allocations: 0.6192 MB / 0.7872 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/1.019, allocations: 0 / 0.7872 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/1.019, allocations: 18.31 kB / 0.7872 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/1.019, allocations: 18.34 kB / 0.7872 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/1.02, allocations: 0.6225 MB / 0.7878 GB, free: 16.06 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.003838/1.024, allocations: 2.658 MB / 0.7904 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/1.025, allocations: 0.5378 MB / 0.7909 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/1.026, allocations: 357.3 kB / 0.7913 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004294/1.026, allocations: 286.8 kB / 0.7915 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/1.026, allocations: 47.67 kB / 0.7916 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007582/1.027, allocations: 162.2 kB / 0.7917 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 3.186e-06/1.027, allocations: 0 / 0.7917 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002176/1.029, allocations: 1.023 MB / 0.7927 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/1.029, allocations: 54.31 kB / 0.7928 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/1.031, allocations: 1.273 MB / 0.794 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.857e-05/1.031, allocations: 38.45 kB / 0.7941 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/1.031, allocations: 434.7 kB / 0.7945 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/1.031, allocations: 150 kB / 0.7946 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/1.032, allocations: 122.8 kB / 0.7947 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.032, allocations: 319.9 kB / 0.795 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/1.032, allocations: 277.8 kB / 0.7953 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007701/1.033, allocations: 487.6 kB / 0.7958 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/1.034, allocations: 0.5853 MB / 0.7963 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.034, allocations: 0 / 0.7963 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001475/1.036, allocations: 0.7434 MB / 0.7971 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.036, allocations: 4.562 kB / 0.7971 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.036, allocations: 2.859 kB / 0.7971 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.036, allocations: 2.781 kB / 0.7971 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/1.036, allocations: 121 kB / 0.7972 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.036, allocations: 0 / 0.7972 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/1.038, allocations: 116.9 kB / 0.7973 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/1.038, allocations: 24.44 kB / 0.7973 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007667/1.038, allocations: 463 kB / 0.7978 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000712/1.039, allocations: 487.7 kB / 0.7982 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001041/1.04, allocations: 0.5836 MB / 0.7988 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/1.04, allocations: 1 kB / 0.7988 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001441/1.042, allocations: 0.7328 MB / 0.7995 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/1.042, allocations: 9.438 kB / 0.7995 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/1.042, allocations: 2.938 kB / 0.7995 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/1.042, allocations: 4.906 kB / 0.7995 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/1.042, allocations: 123.8 kB / 0.7997 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/1.042, allocations: 3.984 kB / 0.7997 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/1.044, allocations: 134 kB / 0.7998 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/1.044, allocations: 23 kB / 0.7998 GB, free: 13.23 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.0002319/1.044, allocations: 212.3 kB / 0.8 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/1.044, allocations: 102.2 kB / 0.8001 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/1.046, allocations: 0.7995 MB / 0.8009 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.046, allocations: 11.33 kB / 0.8009 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.046, allocations: 0.8438 kB / 0.8009 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.046, allocations: 1.641 kB / 0.8009 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/1.049, allocations: 1.958 MB / 0.8028 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.049, allocations: 2.625 kB / 0.8028 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/1.05, allocations: 107.8 kB / 0.8029 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.05, allocations: 7.312 kB / 0.8029 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/1.05, allocations: 25.14 kB / 0.803 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/1.05, allocations: 5.406 kB / 0.803 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.05, allocations: 2.781 kB / 0.803 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/1.052, allocations: 1.23 MB / 0.8042 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/1.052, allocations: 294 kB / 0.8044 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/1.052, allocations: 16.38 kB / 0.8045 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.053, allocations: 73.48 kB / 0.8045 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.054, allocations: 37.42 kB / 0.8046 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/1.054, allocations: 21.88 kB / 0.8046 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001311/1.055, allocations: 0.9233 MB / 0.8055 GB, free: 12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.6e-07/1.055, allocations: 0 / 0.8055 GB, free: 12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001254/1.056, allocations: 407.2 kB / 0.8059 GB, free: 11.96 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.000509/1.057, allocations: 212.8 kB / 0.8061 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002174/1.059, allocations: 0.9916 MB / 0.807 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.059, allocations: 4.594 kB / 0.8071 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005939/1.06, allocations: 332.7 kB / 0.8074 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/1.062, allocations: 445.9 kB / 0.8078 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/1.064, allocations: 2.046 MB / 0.8098 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/1.065, allocations: 1.044 MB / 0.8108 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/1.065, allocations: 101.1 kB / 0.8109 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/1.065, allocations: 0 / 0.8109 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.02628/1.092, allocations: 16.23 MB / 0.8268 GB, free: 15.98 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)