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.001615/0.001616, allocations: 104.2 kB / 16.27 MB, free: 5.961 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.001942/0.001942, allocations: 188 kB / 17.19 MB, free: 5.594 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8894/0.8894, allocations: 132.2 MB / 423.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.89 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4183, allocations: 80.19 MB / 0.5807 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5739/0.9923, allocations: 189.7 MB / 0.766 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008123/1, allocations: 4.287 MB / 0.7701 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/1.002, allocations: 34.27 kB / 0.7702 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/1.003, allocations: 0.4951 MB / 0.7707 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004078/1.008, allocations: 1.564 MB / 0.7722 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003562/1.011, allocations: 1.328 MB / 0.7735 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003495/1.015, allocations: 2.254 MB / 0.7757 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/1.017, allocations: 1.077 MB / 0.7767 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/1.019, allocations: 0.946 MB / 0.7777 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/1.02, allocations: 0.8654 MB / 0.7785 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003087/1.02, allocations: 140.5 kB / 0.7786 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/1.023, allocations: 1.241 MB / 0.7799 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004772/1.024, allocations: 424.4 kB / 0.7803 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008062/1.024, allocations: 0.648 MB / 0.7809 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/1.027, allocations: 1.96 MB / 0.7828 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/1.027, allocations: 4.094 kB / 0.7828 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.884e-06/1.027, allocations: 0 / 0.7828 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.351e-05/1.027, allocations: 0.6562 kB / 0.7828 GB, free: 1.281 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.004383/1.032, allocations: 1.732 MB / 0.7845 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.032, allocations: 8.156 kB / 0.7845 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008618/1.033, allocations: 181.8 kB / 0.7847 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/1.034, allocations: 1.041 MB / 0.7857 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/1.034, allocations: 51.38 kB / 0.7858 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/1.035, allocations: 56.25 kB / 0.7858 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/1.036, allocations: 0.6176 MB / 0.7864 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.036, allocations: 1.031 kB / 0.7864 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/1.036, allocations: 19.06 kB / 0.7864 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/1.036, allocations: 17.25 kB / 0.7864 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/1.037, allocations: 0.6258 MB / 0.7871 GB, free: 15.98 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.00398/1.041, allocations: 2.666 MB / 0.7897 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/1.042, allocations: 0.5404 MB / 0.7902 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/1.043, allocations: 349.4 kB / 0.7905 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/1.043, allocations: 286.6 kB / 0.7908 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/1.043, allocations: 44.8 kB / 0.7908 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006371/1.044, allocations: 147.1 kB / 0.791 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.926e-06/1.044, allocations: 0 / 0.791 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002272/1.046, allocations: 1.019 MB / 0.792 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/1.046, allocations: 54.59 kB / 0.792 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/1.048, allocations: 1.269 MB / 0.7933 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.029e-05/1.048, allocations: 39.39 kB / 0.7933 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/1.049, allocations: 434.6 kB / 0.7937 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/1.049, allocations: 161.4 kB / 0.7939 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/1.049, allocations: 118.4 kB / 0.794 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.049, allocations: 323.4 kB / 0.7943 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/1.05, allocations: 274.2 kB / 0.7945 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007775/1.05, allocations: 491.8 kB / 0.795 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/1.052, allocations: 0.5822 MB / 0.7956 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.052, allocations: 0.9062 kB / 0.7956 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001559/1.053, allocations: 0.7465 MB / 0.7963 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.053, allocations: 5.125 kB / 0.7963 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.053, allocations: 0 / 0.7963 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.053, allocations: 3.969 kB / 0.7963 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/1.054, allocations: 120.6 kB / 0.7964 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.054, allocations: 4.938 kB / 0.7964 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/1.055, allocations: 94.17 kB / 0.7965 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-05/1.055, allocations: 22.86 kB / 0.7966 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008129/1.056, allocations: 464.6 kB / 0.797 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007431/1.057, allocations: 489.4 kB / 0.7975 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001092/1.058, allocations: 0.5855 MB / 0.798 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/1.058, allocations: 4.125 kB / 0.798 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00149/1.059, allocations: 0.7287 MB / 0.7988 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/1.06, allocations: 9.719 kB / 0.7988 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/1.06, allocations: 0.9375 kB / 0.7988 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/1.06, allocations: 6.672 kB / 0.7988 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/1.06, allocations: 118.4 kB / 0.7989 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.06, allocations: 4.609 kB / 0.7989 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.061, allocations: 123.3 kB / 0.799 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/1.062, allocations: 24.42 kB / 0.799 GB, free: 13.15 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.0002281/1.062, allocations: 210.1 kB / 0.7992 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/1.062, allocations: 107.3 kB / 0.7993 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/1.064, allocations: 0.7945 MB / 0.8001 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.064, allocations: 7.953 kB / 0.8001 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.064, allocations: 4.25 kB / 0.8001 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.064, allocations: 9.422 kB / 0.8001 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/1.067, allocations: 1.953 MB / 0.802 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.067, allocations: 4.953 kB / 0.802 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/1.068, allocations: 105.6 kB / 0.8021 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.068, allocations: 5.719 kB / 0.8021 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/1.068, allocations: 14.69 kB / 0.8022 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/1.068, allocations: 10.98 kB / 0.8022 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.068, allocations: 5.031 kB / 0.8022 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/1.07, allocations: 1.231 MB / 0.8034 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/1.07, allocations: 285.1 kB / 0.8037 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/1.07, allocations: 17.62 kB / 0.8037 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/1.071, allocations: 70.27 kB / 0.8037 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.072, allocations: 40.45 kB / 0.8038 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/1.072, allocations: 20.86 kB / 0.8038 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001355/1.073, allocations: 0.9188 MB / 0.8047 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.073, allocations: 0.875 kB / 0.8047 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001226/1.074, allocations: 412.5 kB / 0.8051 GB, free: 11.89 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.0004934/1.075, allocations: 210.4 kB / 0.8053 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002161/1.077, allocations: 1.001 MB / 0.8063 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.077, allocations: 0 / 0.8063 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006842/1.078, allocations: 338.2 kB / 0.8066 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/1.08, allocations: 439 kB / 0.807 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/1.082, allocations: 1.746 MB / 0.8087 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/1.083, allocations: 1.047 MB / 0.8097 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/1.083, allocations: 99.7 kB / 0.8098 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/1.083, allocations: 0 / 0.8098 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.02613/1.11, allocations: 16.23 MB / 0.8257 GB, free: 156 kB / 0.5919 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)