Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001522/0.001522, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001898/0.001898, allocations: 196 kB / 17.98 MB, free: 5.031 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.292/1.292, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7127/0.7127, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 68.12 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3866, allocations: 76.13 MB / 0.5576 GB, free: 36.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2076/0.5942, allocations: 189.7 MB / 0.7428 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007916/0.6022, allocations: 4.276 MB / 0.747 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.604, allocations: 35.81 kB / 0.747 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.6056, allocations: 0.4928 MB / 0.7475 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3919/0.9975, allocations: 1.565 MB / 0.749 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004204/1.002, allocations: 1.343 MB / 0.7503 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004322/1.006, allocations: 2.268 MB / 0.7525 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/1.009, allocations: 1.075 MB / 0.7536 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/1.012, allocations: 0.9511 MB / 0.7545 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/1.014, allocations: 0.8724 MB / 0.7554 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007701/1.015, allocations: 142.1 kB / 0.7555 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/1.018, allocations: 1.242 MB / 0.7567 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009977/1.019, allocations: 426.1 kB / 0.7571 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001676/1.021, allocations: 0.6441 MB / 0.7578 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003525/1.024, allocations: 1.985 MB / 0.7597 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.024, allocations: 0.9375 kB / 0.7597 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.325e-06/1.024, allocations: 0 / 0.7597 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.94e-05/1.024, allocations: 1.938 kB / 0.7597 GB, free: 2.848 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.004659/1.029, allocations: 1.719 MB / 0.7614 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.029, allocations: 10.19 kB / 0.7614 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/1.03, allocations: 183.2 kB / 0.7616 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/1.032, allocations: 1.077 MB / 0.7626 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/1.032, allocations: 40.44 kB / 0.7627 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/1.032, allocations: 61.84 kB / 0.7627 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/1.034, allocations: 0.608 MB / 0.7633 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/1.034, allocations: 1.938 kB / 0.7633 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/1.034, allocations: 21.91 kB / 0.7633 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/1.034, allocations: 21.73 kB / 0.7633 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/1.035, allocations: 0.6199 MB / 0.764 GB, free: 17.57 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.004149/1.039, allocations: 2.66 MB / 0.7666 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/1.04, allocations: 0.5412 MB / 0.7671 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/1.041, allocations: 347.6 kB / 0.7674 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/1.041, allocations: 295.8 kB / 0.7677 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/1.041, allocations: 44.56 kB / 0.7677 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006764/1.042, allocations: 146.5 kB / 0.7679 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/1.042, allocations: 0.5312 kB / 0.7679 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002483/1.045, allocations: 1.014 MB / 0.7689 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/1.045, allocations: 56.88 kB / 0.7689 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/1.047, allocations: 1.272 MB / 0.7702 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.561e-05/1.047, allocations: 42.42 kB / 0.7702 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/1.047, allocations: 438.9 kB / 0.7706 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/1.048, allocations: 150.1 kB / 0.7708 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/1.048, allocations: 115 kB / 0.7709 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.048, allocations: 324 kB / 0.7712 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/1.048, allocations: 272.3 kB / 0.7714 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007594/1.049, allocations: 487.7 kB / 0.7719 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/1.05, allocations: 0.5845 MB / 0.7725 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.05, allocations: 0.5 kB / 0.7725 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001484/1.052, allocations: 0.7435 MB / 0.7732 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.052, allocations: 7.953 kB / 0.7732 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.052, allocations: 0.875 kB / 0.7732 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.052, allocations: 2.5 kB / 0.7732 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/1.053, allocations: 128.9 kB / 0.7733 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.053, allocations: 1.781 kB / 0.7733 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.054, allocations: 95.89 kB / 0.7734 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.107e-05/1.054, allocations: 23.47 kB / 0.7735 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007802/1.055, allocations: 468.1 kB / 0.7739 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006972/1.055, allocations: 486.9 kB / 0.7744 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00102/1.056, allocations: 0.5839 MB / 0.7749 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/1.056, allocations: 0 / 0.7749 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001338/1.058, allocations: 0.7321 MB / 0.7757 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.058, allocations: 9.969 kB / 0.7757 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/1.058, allocations: 0 / 0.7757 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/1.058, allocations: 3.5 kB / 0.7757 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/1.058, allocations: 121.3 kB / 0.7758 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/1.058, allocations: 3.156 kB / 0.7758 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.06, allocations: 126.8 kB / 0.7759 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/1.06, allocations: 23.34 kB / 0.7759 GB, free: 14.77 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.0002051/1.06, allocations: 205.7 kB / 0.7761 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/1.06, allocations: 106.7 kB / 0.7762 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/1.062, allocations: 0.812 MB / 0.777 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-06/1.062, allocations: 5.094 kB / 0.777 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.062, allocations: 0 / 0.777 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/1.062, allocations: 3.812 kB / 0.777 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/1.064, allocations: 1.959 MB / 0.7789 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/1.064, allocations: 1.203 kB / 0.7789 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/1.065, allocations: 107.6 kB / 0.779 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/1.065, allocations: 6.266 kB / 0.779 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/1.065, allocations: 15.97 kB / 0.7791 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/1.065, allocations: 8.281 kB / 0.7791 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.065, allocations: 6.219 kB / 0.7791 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/1.067, allocations: 1.233 MB / 0.7803 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/1.067, allocations: 292.7 kB / 0.7806 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/1.067, allocations: 12 kB / 0.7806 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009146/1.068, allocations: 69.2 kB / 0.7806 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.068, allocations: 40.33 kB / 0.7807 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/1.068, allocations: 21.05 kB / 0.7807 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001238/1.07, allocations: 0.9193 MB / 0.7816 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/1.07, allocations: 0.875 kB / 0.7816 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00118/1.071, allocations: 408.9 kB / 0.782 GB, free: 13.51 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.0004967/1.071, allocations: 220.6 kB / 0.7822 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001768/1.073, allocations: 0.9408 MB / 0.7831 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.073, allocations: 2.5 kB / 0.7831 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005485/1.074, allocations: 334 kB / 0.7834 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/1.076, allocations: 440.4 kB / 0.7839 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/1.078, allocations: 1.679 MB / 0.7855 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/1.079, allocations: 1.049 MB / 0.7865 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00114/1.08, allocations: 285.3 kB / 0.7868 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/1.08, allocations: 94.27 kB / 0.7869 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/1.08, allocations: 0 / 0.7869 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of Templates: time 0.03595/1.116, allocations: 21.27 MB / 0.8077 GB, free: 4.633 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)