Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.009/3.009, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 192.1 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.2 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.00108, allocations: 94.95 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.677e-05/2.686e-05, allocations: 4 kB / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.886/0.886, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.12/7.006, allocations: 2.084 GB / 3.047 GB, free: 34.68 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/7.006, allocations: 88.7 kB / 3.047 GB, free: 34.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.747/10.75, allocations: 0.7352 GB / 3.782 GB, free: 41.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.826e-06/10.75, allocations: 0 / 3.782 GB, free: 41.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002316/10.75, allocations: 35.98 kB / 3.782 GB, free: 41.09 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.005903/10.76, allocations: 1.59 MB / 3.784 GB, free: 39.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/10.76, allocations: 8.031 kB / 3.784 GB, free: 39.44 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/10.76, allocations: 305.8 kB / 3.784 GB, free: 39.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004691/10.77, allocations: 1.337 MB / 3.786 GB, free: 37.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/10.77, allocations: 24 kB / 3.786 GB, free: 37.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/10.77, allocations: 56 kB / 3.786 GB, free: 37.67 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001984/10.77, allocations: 0.7445 MB / 3.786 GB, free: 36.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/10.77, allocations: 0.8026 MB / 3.787 GB, free: 36.09 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/10.77, allocations: 4 kB / 3.787 GB, free: 36.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/10.77, allocations: 4 kB / 3.787 GB, free: 36.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/10.77, allocations: 12 kB / 3.787 GB, free: 36.07 MB / 0.948 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.009073/10.78, allocations: 3.394 MB / 3.791 GB, free: 32.53 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/10.78, allocations: 0.7135 MB / 3.791 GB, free: 31.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007765/10.78, allocations: 398.9 kB / 3.792 GB, free: 31.39 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/10.79, allocations: 299.7 kB / 3.792 GB, free: 31.05 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/10.79, allocations: 39 kB / 3.792 GB, free: 31 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002741/10.79, allocations: 303.4 kB / 3.792 GB, free: 30.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 4.769e-06/10.79, allocations: 0 / 3.792 GB, free: 30.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.00274/10.79, allocations: 0.8737 MB / 3.793 GB, free: 29.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/10.79, allocations: 214 kB / 3.793 GB, free: 29.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/10.79, allocations: 1.252 MB / 3.795 GB, free: 28.31 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003553/10.79, allocations: 29.7 kB / 3.795 GB, free: 28.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/10.8, allocations: 0.5745 MB / 3.795 GB, free: 27.69 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/10.8, allocations: 173.3 kB / 3.795 GB, free: 27.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/10.8, allocations: 0 / 3.795 GB, free: 27.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/10.8, allocations: 341.9 kB / 3.796 GB, free: 27.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007456/10.8, allocations: 325 kB / 3.796 GB, free: 26.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/10.8, allocations: 0.6384 MB / 3.797 GB, free: 26.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/10.8, allocations: 419.4 kB / 3.797 GB, free: 25.69 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/10.8, allocations: 0 / 3.797 GB, free: 25.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002759/10.8, allocations: 0.9269 MB / 3.798 GB, free: 24.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/10.8, allocations: 93.52 kB / 3.798 GB, free: 24.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/10.8, allocations: 4 kB / 3.798 GB, free: 24.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/10.8, allocations: 4 kB / 3.798 GB, free: 24.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/10.8, allocations: 167.7 kB / 3.798 GB, free: 24.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/10.8, allocations: 7.953 kB / 3.798 GB, free: 24.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/10.81, allocations: 127.8 kB / 3.798 GB, free: 24.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/10.81, allocations: 43.95 kB / 3.798 GB, free: 24.31 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/10.81, allocations: 4 kB / 3.798 GB, free: 24.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002054/10.81, allocations: 0.751 MB / 3.799 GB, free: 23.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/10.81, allocations: 11.98 kB / 3.799 GB, free: 23.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/10.81, allocations: 0 / 3.799 GB, free: 23.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/10.81, allocations: 163.7 kB / 3.799 GB, free: 23.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/10.81, allocations: 0 / 3.799 GB, free: 23.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/10.81, allocations: 143.5 kB / 3.799 GB, free: 23.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/10.81, allocations: 43.94 kB / 3.799 GB, free: 23.2 MB / 0.948 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003183/10.81, allocations: 120.9 kB / 3.799 GB, free: 23.07 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002341/10.82, allocations: 0.8185 MB / 3.8 GB, free: 22.24 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/10.82, allocations: 118.5 kB / 3.8 GB, free: 22.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/10.82, allocations: 0.9133 MB / 3.801 GB, free: 21.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/10.82, allocations: 4 kB / 3.801 GB, free: 21.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/10.82, allocations: 0 / 3.801 GB, free: 21.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/10.82, allocations: 3.984 kB / 3.801 GB, free: 21.2 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.005328/10.82, allocations: 2.304 MB / 3.804 GB, free: 18.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/10.82, allocations: 4 kB / 3.804 GB, free: 18.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/10.83, allocations: 139.8 kB / 3.804 GB, free: 18.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/10.83, allocations: 4 kB / 3.804 GB, free: 18.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/10.83, allocations: 8 kB / 3.804 GB, free: 18.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/10.83, allocations: 8.203 kB / 3.804 GB, free: 18.65 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/10.83, allocations: 8 kB / 3.804 GB, free: 18.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/10.83, allocations: 1.481 MB / 3.805 GB, free: 17.08 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/10.83, allocations: 359.3 kB / 3.805 GB, free: 16.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/10.83, allocations: 8 kB / 3.805 GB, free: 16.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/10.83, allocations: 87.88 kB / 3.806 GB, free: 16.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/10.83, allocations: 60.2 kB / 3.806 GB, free: 16.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.705e-05/10.83, allocations: 31.98 kB / 3.806 GB, free: 16.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002057/10.84, allocations: 0.962 MB / 3.807 GB, free: 15.56 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.72e-07/10.84, allocations: 0 / 3.807 GB, free: 15.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003119/10.84, allocations: 0.6746 MB / 3.807 GB, free: 14.89 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.006553/10.85, allocations: 4.636 MB / 3.812 GB, free: 10.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002873/10.85, allocations: 1.286 MB / 3.813 GB, free: 8.773 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/10.85, allocations: 0 / 3.813 GB, free: 8.773 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008173/10.85, allocations: 361.3 kB / 3.813 GB, free: 8.418 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004647/10.85, allocations: 0.5019 MB / 3.814 GB, free: 7.922 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/10.86, allocations: 1.899 MB / 3.816 GB, free: 5.953 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007715/10.86, allocations: 1.194 MB / 3.817 GB, free: 4.73 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003864/10.86, allocations: 493 kB / 3.817 GB, free: 4.242 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/10.87, allocations: 499.2 kB / 3.818 GB, free: 3.754 MB / 0.948 GB Notification: Performance of SimCode: time 1.302e-06/10.87, allocations: 0 / 3.818 GB, free: 3.754 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8549/11.72, allocations: 49.51 MB / 3.866 GB, free: 170.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003014/11.72, allocations: 187 kB / 3.866 GB, free: 170.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.368/17.09, allocations: 4.719 kB / 3.866 GB, free: 170.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)