Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001497, allocations: 180.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009196/0.0009195, allocations: 96.2 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.351e-05/4.357e-05, allocations: 8 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2887, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.71/6.999, allocations: 2.201 GB / 3.093 GB, free: 127 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/6.999, allocations: 91.52 kB / 3.093 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.47/9.47, allocations: 0.5859 GB / 3.679 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.934e-06/9.47, allocations: 0 / 3.679 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002241/9.47, allocations: 32.59 kB / 3.679 GB, free: 182.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.004517/9.475, allocations: 1.329 MB / 3.681 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/9.475, allocations: 9.781 kB / 3.681 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003258/9.475, allocations: 92.8 kB / 3.681 GB, free: 182 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/9.478, allocations: 238.1 kB / 3.681 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/9.481, allocations: 1.046 MB / 3.682 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/9.482, allocations: 43.53 kB / 3.682 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/9.482, allocations: 64.42 kB / 3.682 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/9.483, allocations: 0.6595 MB / 3.683 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/9.483, allocations: 0 / 3.683 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/9.484, allocations: 19.59 kB / 3.683 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/9.484, allocations: 13.31 kB / 3.683 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/9.485, allocations: 0.5485 MB / 3.683 GB, free: 180.8 MB / 0.8698 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.006675/9.491, allocations: 2.742 MB / 3.686 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/9.492, allocations: 0.5125 MB / 3.687 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000455/9.493, allocations: 316.7 kB / 3.687 GB, free: 179 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004383/9.493, allocations: 290.8 kB / 3.687 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/9.493, allocations: 34.56 kB / 3.687 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001554/9.495, allocations: 225.5 kB / 3.687 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 7.604e-06/9.495, allocations: 3.344 kB / 3.687 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.002021/9.497, allocations: 0.6752 MB / 3.688 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/9.497, allocations: 140.2 kB / 3.688 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/9.5, allocations: 1.095 MB / 3.689 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/9.5, allocations: 40.77 kB / 3.689 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/9.5, allocations: 456.4 kB / 3.69 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/9.5, allocations: 149.6 kB / 3.69 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/9.5, allocations: 7.344 kB / 3.69 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001117/9.501, allocations: 321.2 kB / 3.69 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/9.501, allocations: 241.3 kB / 3.69 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/9.502, allocations: 483.4 kB / 3.691 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/9.502, allocations: 296.3 kB / 3.691 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/9.502, allocations: 0 / 3.691 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001666/9.504, allocations: 0.6982 MB / 3.692 GB, free: 176 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/9.504, allocations: 106.1 kB / 3.692 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/9.504, allocations: 0 / 3.692 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/9.504, allocations: 11.34 kB / 3.692 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/9.505, allocations: 119.9 kB / 3.692 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/9.505, allocations: 3.625 kB / 3.692 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/9.506, allocations: 122.3 kB / 3.692 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/9.506, allocations: 31.09 kB / 3.692 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/9.506, allocations: 3.406 kB / 3.692 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009637/9.507, allocations: 0.5691 MB / 3.693 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/9.507, allocations: 3.969 kB / 3.693 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/9.507, allocations: 3.953 kB / 3.693 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/9.508, allocations: 125.5 kB / 3.693 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/9.508, allocations: 4 kB / 3.693 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/9.51, allocations: 117 kB / 3.693 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.654e-05/9.51, allocations: 34.48 kB / 3.693 GB, free: 175.7 MB / 0.8698 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.000244/9.51, allocations: 128.7 kB / 3.693 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/9.511, allocations: 104.8 kB / 3.693 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/9.512, allocations: 0.7522 MB / 3.694 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/9.512, allocations: 11.59 kB / 3.694 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/9.512, allocations: 0 / 3.694 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/9.512, allocations: 0 / 3.694 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/9.516, allocations: 1.906 MB / 3.696 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/9.516, allocations: 0 / 3.696 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006202/9.517, allocations: 119.1 kB / 3.696 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.931e-05/9.517, allocations: 6.219 kB / 3.696 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/9.517, allocations: 14.78 kB / 3.696 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-05/9.517, allocations: 3.938 kB / 3.696 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/9.517, allocations: 3.781 kB / 3.696 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/9.519, allocations: 1.237 MB / 3.697 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007759/9.519, allocations: 307.3 kB / 3.697 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/9.52, allocations: 15.81 kB / 3.697 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/9.521, allocations: 88.33 kB / 3.698 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/9.521, allocations: 43.69 kB / 3.698 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.945e-05/9.521, allocations: 22.69 kB / 3.698 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001467/9.523, allocations: 0.8656 MB / 3.698 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.31e-07/9.523, allocations: 0 / 3.698 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002549/9.525, allocations: 0.6 MB / 3.699 GB, free: 172.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete 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 (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.005507/9.531, allocations: 3.95 MB / 3.703 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002012/9.533, allocations: 0.9442 MB / 3.704 GB, free: 170 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/9.533, allocations: 0 / 3.704 GB, free: 170 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004823/9.533, allocations: 293.7 kB / 3.704 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/9.536, allocations: 483.5 kB / 3.705 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/9.541, allocations: 1.524 MB / 3.706 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007083/9.542, allocations: 1.074 MB / 3.707 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00231/9.544, allocations: 420.8 kB / 3.708 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/9.545, allocations: 382.3 kB / 3.708 GB, free: 168 MB / 0.8698 GB Notification: Performance of SimCode: time 1.763e-06/9.545, allocations: 0 / 3.708 GB, free: 168 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/9.651, allocations: 60.16 MB / 3.767 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/9.652, allocations: 213.5 kB / 3.767 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.117/13.77, allocations: 0 / 3.767 GB, free: 109.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)