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.0009993/0.0009993, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.51/0.51, allocations: 90.91 MB / 99.34 MB, free: 2.176 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008382/0.0008381, allocations: 109.4 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.838e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1438, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.387/4.531, allocations: 1.868 GB / 2.422 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/4.531, allocations: 91.95 kB / 2.422 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.222/6.753, allocations: 0.6043 GB / 3.026 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/6.753, allocations: 0 / 3.026 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.428e-05/6.753, allocations: 33.16 kB / 3.026 GB, free: 105.3 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.002645/6.755, allocations: 1.271 MB / 3.028 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/6.755, allocations: 9.969 kB / 3.028 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/6.758, allocations: 238.1 kB / 3.028 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/6.759, allocations: 1.002 MB / 3.029 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/6.759, allocations: 14.19 kB / 3.029 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/6.759, allocations: 40.2 kB / 3.029 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007893/6.76, allocations: 0.5353 MB / 3.029 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007826/6.761, allocations: 0.516 MB / 3.03 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/6.761, allocations: 1.875 kB / 3.03 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.289e-05/6.761, allocations: 0 / 3.03 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/6.761, allocations: 22.62 kB / 3.03 GB, free: 104.3 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.003579/6.765, allocations: 2.6 MB / 3.032 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/6.765, allocations: 0.5152 MB / 3.033 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/6.766, allocations: 306 kB / 3.033 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003355/6.766, allocations: 290.8 kB / 3.034 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/6.766, allocations: 37.69 kB / 3.034 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008776/6.767, allocations: 212.3 kB / 3.034 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 2.034e-06/6.767, allocations: 3.938 kB / 3.034 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.001334/6.768, allocations: 0.6751 MB / 3.034 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/6.768, allocations: 55.34 kB / 3.034 GB, free: 103 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/6.769, allocations: 0.957 MB / 3.035 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/6.77, allocations: 28.89 kB / 3.035 GB, free: 102.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/6.77, allocations: 436.7 kB / 3.036 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/6.77, allocations: 145.8 kB / 3.036 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/6.77, allocations: 0 / 3.036 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/6.77, allocations: 322.9 kB / 3.036 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/6.77, allocations: 224.4 kB / 3.037 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/6.771, allocations: 447.9 kB / 3.037 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/6.771, allocations: 277.5 kB / 3.037 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/6.771, allocations: 0 / 3.037 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009169/6.772, allocations: 0.6481 MB / 3.038 GB, free: 102 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/6.772, allocations: 107.3 kB / 3.038 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/6.772, allocations: 0 / 3.038 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/6.772, allocations: 6.469 kB / 3.038 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/6.773, allocations: 127.8 kB / 3.038 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/6.773, allocations: 3.938 kB / 3.038 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/6.774, allocations: 107.2 kB / 3.038 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-05/6.774, allocations: 34.03 kB / 3.038 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/6.774, allocations: 3.594 kB / 3.038 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007169/6.775, allocations: 0.5102 MB / 3.039 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-06/6.775, allocations: 0 / 3.039 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-06/6.775, allocations: 0 / 3.039 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/6.775, allocations: 136 kB / 3.039 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/6.775, allocations: 0 / 3.039 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/6.777, allocations: 116.9 kB / 3.039 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/6.777, allocations: 30.45 kB / 3.039 GB, free: 101.9 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.0001391/6.777, allocations: 117.7 kB / 3.039 GB, free: 101.8 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008548/6.778, allocations: 0.6209 MB / 3.04 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/6.778, allocations: 95.94 kB / 3.04 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/6.779, allocations: 0.7093 MB / 3.04 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/6.779, allocations: 7.703 kB / 3.041 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/6.779, allocations: 0 / 3.041 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/6.779, allocations: 3.656 kB / 3.041 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/6.781, allocations: 1.804 MB / 3.042 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/6.781, allocations: 0 / 3.042 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/6.782, allocations: 119.8 kB / 3.042 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/6.782, allocations: 3.75 kB / 3.042 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/6.782, allocations: 6.844 kB / 3.042 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/6.782, allocations: 8.938 kB / 3.042 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/6.782, allocations: 7.75 kB / 3.042 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/6.783, allocations: 1.206 MB / 3.044 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/6.783, allocations: 302.1 kB / 3.044 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/6.784, allocations: 8.188 kB / 3.044 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009469/6.785, allocations: 76.67 kB / 3.044 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/6.785, allocations: 49.84 kB / 3.044 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/6.785, allocations: 21.91 kB / 3.044 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008152/6.786, allocations: 0.7455 MB / 3.045 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/6.786, allocations: 0 / 3.045 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001374/6.787, allocations: 0.5002 MB / 3.045 GB, free: 100.5 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.003395/6.79, allocations: 4.048 MB / 3.049 GB, free: 98.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001179/6.792, allocations: 0.8242 MB / 3.05 GB, free: 98.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/6.792, allocations: 0 / 3.05 GB, free: 98.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003237/6.792, allocations: 282.1 kB / 3.05 GB, free: 98.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/6.794, allocations: 386 kB / 3.051 GB, free: 98.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/6.797, allocations: 1.42 MB / 3.052 GB, free: 98.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/6.797, allocations: 1.07 MB / 3.053 GB, free: 97.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001599/6.799, allocations: 384.5 kB / 3.053 GB, free: 97.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/6.799, allocations: 358.4 kB / 3.054 GB, free: 97.37 MB / 0.6042 GB Notification: Performance of SimCode: time 2.194e-06/6.799, allocations: 0 / 3.054 GB, free: 97.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06687/6.866, allocations: 38.56 MB / 3.091 GB, free: 85.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/6.866, allocations: 168.3 kB / 3.092 GB, free: 85.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.229/10.1, allocations: 0.5625 kB / 3.092 GB, free: 85.4 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)