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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 184 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5581/0.5581, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 354.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008636/0.0008635, allocations: 114.8 kB / 427.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003006, allocations: 8 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1478, allocations: 72.3 MB / 0.5689 GB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.695/4.843, allocations: 1.869 GB / 2.438 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003788/4.844, allocations: 92.8 kB / 2.438 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.35/7.193, allocations: 0.6119 GB / 3.05 GB, free: 90.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/7.193, allocations: 0 / 3.05 GB, free: 90.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.497e-05/7.194, allocations: 31.98 kB / 3.05 GB, free: 90.56 MB / 0.6042 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.005445/7.199, allocations: 1.664 MB / 3.052 GB, free: 88.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/7.199, allocations: 8.031 kB / 3.052 GB, free: 88.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/7.199, allocations: 90.52 kB / 3.052 GB, free: 88.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/7.202, allocations: 234.4 kB / 3.052 GB, free: 88.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/7.204, allocations: 1.028 MB / 3.053 GB, free: 87.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/7.204, allocations: 45 kB / 3.053 GB, free: 87.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/7.204, allocations: 56 kB / 3.053 GB, free: 87.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/7.205, allocations: 0.646 MB / 3.054 GB, free: 86.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/7.205, allocations: 0 / 3.054 GB, free: 86.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/7.205, allocations: 16 kB / 3.054 GB, free: 86.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/7.205, allocations: 20.75 kB / 3.054 GB, free: 86.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/7.206, allocations: 0.6597 MB / 3.054 GB, free: 86 MB / 0.6042 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.003625/7.21, allocations: 2.727 MB / 3.057 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/7.211, allocations: 0.5805 MB / 3.057 GB, free: 82.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/7.211, allocations: 292.3 kB / 3.058 GB, free: 82.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/7.212, allocations: 34.56 kB / 3.058 GB, free: 82.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008259/7.212, allocations: 227.4 kB / 3.058 GB, free: 81.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 1.854e-06/7.212, allocations: 0 / 3.058 GB, free: 81.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.002053/7.214, allocations: 1.06 MB / 3.059 GB, free: 80.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/7.214, allocations: 55.41 kB / 3.059 GB, free: 80.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/7.216, allocations: 1.121 MB / 3.06 GB, free: 79.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.208e-05/7.216, allocations: 37.7 kB / 3.06 GB, free: 79.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/7.216, allocations: 450.9 kB / 3.061 GB, free: 79.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/7.216, allocations: 149.8 kB / 3.061 GB, free: 79.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/7.216, allocations: 8 kB / 3.061 GB, free: 79.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/7.216, allocations: 322 kB / 3.061 GB, free: 78.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/7.217, allocations: 284.5 kB / 3.061 GB, free: 78.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/7.218, allocations: 0.4906 MB / 3.062 GB, free: 77.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/7.218, allocations: 340.9 kB / 3.062 GB, free: 77.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/7.218, allocations: 0 / 3.062 GB, free: 77.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001245/7.219, allocations: 0.7576 MB / 3.063 GB, free: 76.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/7.219, allocations: 105.8 kB / 3.063 GB, free: 76.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/7.22, allocations: 7.984 kB / 3.063 GB, free: 76.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/7.22, allocations: 0 / 3.063 GB, free: 76.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/7.22, allocations: 131.8 kB / 3.063 GB, free: 76.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/7.22, allocations: 4 kB / 3.063 GB, free: 76.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/7.221, allocations: 115.8 kB / 3.063 GB, free: 76.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.052e-05/7.221, allocations: 31.97 kB / 3.063 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/7.221, allocations: 4 kB / 3.063 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001201/7.223, allocations: 0.6494 MB / 3.064 GB, free: 75.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-06/7.223, allocations: 0 / 3.064 GB, free: 75.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/7.223, allocations: 0 / 3.064 GB, free: 75.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/7.223, allocations: 135.8 kB / 3.064 GB, free: 75.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/7.223, allocations: 4 kB / 3.064 GB, free: 75.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/7.225, allocations: 115.8 kB / 3.064 GB, free: 75.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/7.225, allocations: 27.97 kB / 3.064 GB, free: 75.43 MB / 0.6042 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003481/7.225, allocations: 336 kB / 3.065 GB, free: 75.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/7.225, allocations: 106.6 kB / 3.065 GB, free: 74.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/7.227, allocations: 0.846 MB / 3.065 GB, free: 74.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/7.227, allocations: 8 kB / 3.065 GB, free: 74.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/7.227, allocations: 0 / 3.065 GB, free: 74.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/7.227, allocations: 3.984 kB / 3.065 GB, free: 74.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/7.229, allocations: 2.018 MB / 3.067 GB, free: 72.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/7.229, allocations: 288 / 3.067 GB, free: 72.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/7.23, allocations: 115.9 kB / 3.068 GB, free: 71.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/7.23, allocations: 4 kB / 3.068 GB, free: 71.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/7.23, allocations: 19.98 kB / 3.068 GB, free: 71.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/7.23, allocations: 7.938 kB / 3.068 GB, free: 71.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/7.23, allocations: 4 kB / 3.068 GB, free: 71.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/7.232, allocations: 1.395 MB / 3.069 GB, free: 70.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/7.232, allocations: 311.7 kB / 3.069 GB, free: 70.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/7.232, allocations: 15.95 kB / 3.069 GB, free: 70.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/7.233, allocations: 83.84 kB / 3.069 GB, free: 69.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/7.234, allocations: 42.14 kB / 3.069 GB, free: 69.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/7.234, allocations: 20 kB / 3.069 GB, free: 69.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00119/7.235, allocations: 0.8973 MB / 3.07 GB, free: 69.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.4e-07/7.235, allocations: 4 kB / 3.07 GB, free: 69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001709/7.237, allocations: 0.5464 MB / 3.071 GB, free: 68.46 MB / 0.6042 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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004052/7.241, allocations: 4.059 MB / 3.075 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001695/7.242, allocations: 0.9565 MB / 3.076 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/7.242, allocations: 0 / 3.076 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005106/7.243, allocations: 351.8 kB / 3.076 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/7.245, allocations: 461.9 kB / 3.077 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009239/7.254, allocations: 6.624 MB / 3.083 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/7.254, allocations: 1.065 MB / 3.084 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001294/7.256, allocations: 287.1 kB / 3.084 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/7.256, allocations: 391.3 kB / 3.085 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/7.256, allocations: 0 / 3.085 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06981/7.326, allocations: 53.1 MB / 3.137 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/7.326, allocations: 209.4 kB / 3.137 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.772/11.1, allocations: 0 / 3.137 GB, free: 0.8945 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)