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.001468/0.001467, allocations: 182.3 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.507/0.507, allocations: 90.8 MB / 104.5 MB, free: 13.93 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.615/1.615, allocations: 221.3 MB / 348.3 MB, free: 12.58 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.00122/0.00122, allocations: 83.95 kB / 421.1 MB, free: 5.688 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.214e-05/4.233e-05, allocations: 4 kB / 0.4897 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1674, allocations: 72.31 MB / 0.5603 GB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.908/5.075, allocations: 1.869 GB / 2.429 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/5.076, allocations: 95.94 kB / 2.429 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.514/7.589, allocations: 0.6113 GB / 3.041 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.92e-07/7.589, allocations: 0 / 3.041 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001511/7.59, allocations: 29.5 kB / 3.041 GB, free: 105.6 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.003443/7.593, allocations: 1.281 MB / 3.042 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/7.593, allocations: 12.11 kB / 3.042 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002541/7.593, allocations: 92.67 kB / 3.042 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/7.596, allocations: 240 kB / 3.042 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/7.599, allocations: 0.9997 MB / 3.043 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.246e-05/7.599, allocations: 46.06 kB / 3.043 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/7.599, allocations: 62.83 kB / 3.043 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/7.6, allocations: 0.576 MB / 3.044 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/7.6, allocations: 0 / 3.044 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/7.6, allocations: 22.44 kB / 3.044 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/7.6, allocations: 18.77 kB / 3.044 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008785/7.601, allocations: 0.5495 MB / 3.044 GB, free: 103.2 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.004172/7.605, allocations: 2.738 MB / 3.047 GB, free: 101 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/7.606, allocations: 0.5212 MB / 3.048 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/7.606, allocations: 319 kB / 3.048 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003562/7.607, allocations: 294.2 kB / 3.048 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/7.607, allocations: 46.38 kB / 3.048 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009564/7.608, allocations: 217.4 kB / 3.049 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 2.675e-06/7.608, allocations: 0 / 3.049 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.001284/7.609, allocations: 0.6866 MB / 3.049 GB, free: 99.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/7.609, allocations: 55.06 kB / 3.049 GB, free: 99.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/7.61, allocations: 1.085 MB / 3.05 GB, free: 99.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/7.61, allocations: 39.92 kB / 3.05 GB, free: 99.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/7.611, allocations: 447.6 kB / 3.051 GB, free: 98.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/7.611, allocations: 153.7 kB / 3.051 GB, free: 98.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/7.611, allocations: 6.156 kB / 3.051 GB, free: 98.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.264e-05/7.611, allocations: 324.5 kB / 3.051 GB, free: 98.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/7.611, allocations: 223.5 kB / 3.051 GB, free: 98.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/7.612, allocations: 460.7 kB / 3.052 GB, free: 97.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/7.612, allocations: 289 kB / 3.052 GB, free: 97.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/7.612, allocations: 0 / 3.052 GB, free: 97.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000962/7.613, allocations: 0.6629 MB / 3.053 GB, free: 97.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/7.613, allocations: 96.03 kB / 3.053 GB, free: 97.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/7.613, allocations: 3.5 kB / 3.053 GB, free: 97.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/7.613, allocations: 0 / 3.053 GB, free: 97.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/7.614, allocations: 135.5 kB / 3.053 GB, free: 97.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/7.614, allocations: 3.562 kB / 3.053 GB, free: 97.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/7.615, allocations: 114.4 kB / 3.053 GB, free: 97.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/7.615, allocations: 36.27 kB / 3.053 GB, free: 97.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/7.615, allocations: 3.906 kB / 3.053 GB, free: 97.18 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007906/7.616, allocations: 0.5467 MB / 3.054 GB, free: 96.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/7.616, allocations: 0 / 3.054 GB, free: 96.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-06/7.616, allocations: 4 kB / 3.054 GB, free: 96.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/7.617, allocations: 133.7 kB / 3.054 GB, free: 96.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/7.617, allocations: 7.938 kB / 3.054 GB, free: 96.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/7.618, allocations: 125.2 kB / 3.054 GB, free: 96.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/7.618, allocations: 27.97 kB / 3.054 GB, free: 96.46 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 () * 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.0001327/7.618, allocations: 127.1 kB / 3.054 GB, free: 96.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/7.618, allocations: 102.8 kB / 3.054 GB, free: 96.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/7.619, allocations: 0.7515 MB / 3.055 GB, free: 95.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/7.619, allocations: 11.94 kB / 3.055 GB, free: 95.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/7.619, allocations: 0 / 3.055 GB, free: 95.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/7.619, allocations: 3.984 kB / 3.055 GB, free: 95.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/7.622, allocations: 1.919 MB / 3.057 GB, free: 93.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/7.622, allocations: 0 / 3.057 GB, free: 93.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005461/7.622, allocations: 115.9 kB / 3.057 GB, free: 93.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/7.622, allocations: 4 kB / 3.057 GB, free: 93.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/7.622, allocations: 16 kB / 3.057 GB, free: 93.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/7.622, allocations: 7.938 kB / 3.057 GB, free: 93.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/7.622, allocations: 4 kB / 3.057 GB, free: 93.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/7.624, allocations: 1.25 MB / 3.058 GB, free: 92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000388/7.624, allocations: 307.6 kB / 3.058 GB, free: 91.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/7.624, allocations: 15.95 kB / 3.059 GB, free: 91.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009569/7.625, allocations: 92.12 kB / 3.059 GB, free: 91.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/7.625, allocations: 43.94 kB / 3.059 GB, free: 91.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/7.625, allocations: 24 kB / 3.059 GB, free: 91.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001001/7.626, allocations: 0.8587 MB / 3.059 GB, free: 90.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.01e-07/7.626, allocations: 0 / 3.059 GB, free: 90.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001686/7.628, allocations: 0.5464 MB / 3.06 GB, free: 90.1 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 () * 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.003705/7.632, allocations: 3.91 MB / 3.064 GB, free: 86.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001274/7.633, allocations: 0.846 MB / 3.065 GB, free: 85.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/7.633, allocations: 0 / 3.065 GB, free: 85.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003559/7.633, allocations: 295 kB / 3.065 GB, free: 85.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/7.636, allocations: 464.9 kB / 3.065 GB, free: 84.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/7.638, allocations: 1.492 MB / 3.067 GB, free: 83.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/7.639, allocations: 1.064 MB / 3.068 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001544/7.64, allocations: 418.2 kB / 3.068 GB, free: 81.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/7.641, allocations: 359.3 kB / 3.069 GB, free: 81.54 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/7.641, allocations: 3.938 kB / 3.069 GB, free: 81.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07596/7.717, allocations: 58.55 MB / 3.126 GB, free: 23.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/7.717, allocations: 189.7 kB / 3.126 GB, free: 23.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.122/11.84, allocations: 0 / 3.126 GB, free: 23.25 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)