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.391/1.391, allocations: 249.5 MB / 257 MB, free: 6.902 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.001143/0.001143, allocations: 179.3 kB / 316.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009947/0.0009945, allocations: 97.77 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.037e-05/1.041e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2238, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.626/5.85, allocations: 2.202 GB / 3.087 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/5.85, allocations: 94.88 kB / 3.087 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.995/7.845, allocations: 0.5789 GB / 3.666 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.625e-06/7.845, allocations: 3 kB / 3.666 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.604e-05/7.845, allocations: 27.83 kB / 3.666 GB, free: 182.1 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.002547/7.848, allocations: 1.327 MB / 3.667 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/7.848, allocations: 9.312 kB / 3.667 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/7.85, allocations: 237.5 kB / 3.668 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/7.852, allocations: 1.045 MB / 3.669 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/7.852, allocations: 15.72 kB / 3.669 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/7.852, allocations: 38.19 kB / 3.669 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007893/7.853, allocations: 0.5365 MB / 3.669 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008164/7.853, allocations: 0.6056 MB / 3.67 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/7.854, allocations: 0 / 3.67 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/7.854, allocations: 0 / 3.67 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/7.854, allocations: 11.06 kB / 3.67 GB, free: 180.9 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.003562/7.857, allocations: 2.605 MB / 3.672 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/7.858, allocations: 0.5004 MB / 3.673 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/7.858, allocations: 312.9 kB / 3.673 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/7.859, allocations: 291.2 kB / 3.673 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/7.859, allocations: 40.81 kB / 3.673 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008416/7.859, allocations: 203.8 kB / 3.674 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/7.859, allocations: 0 / 3.674 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.001282/7.861, allocations: 0.6734 MB / 3.674 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/7.861, allocations: 136.4 kB / 3.674 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/7.862, allocations: 0.9642 MB / 3.675 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/7.862, allocations: 29.61 kB / 3.675 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/7.862, allocations: 446.6 kB / 3.676 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.823e-05/7.862, allocations: 146.4 kB / 3.676 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/7.862, allocations: 2.844 kB / 3.676 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/7.862, allocations: 323.4 kB / 3.676 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/7.863, allocations: 232.1 kB / 3.677 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/7.863, allocations: 481.4 kB / 3.677 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/7.864, allocations: 295.4 kB / 3.677 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/7.864, allocations: 0 / 3.677 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009468/7.864, allocations: 0.6715 MB / 3.678 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/7.865, allocations: 102.2 kB / 3.678 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/7.865, allocations: 0 / 3.678 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/7.865, allocations: 3.938 kB / 3.678 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/7.865, allocations: 126.8 kB / 3.678 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/7.865, allocations: 3.094 kB / 3.678 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/7.866, allocations: 106.5 kB / 3.678 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/7.866, allocations: 33.89 kB / 3.678 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/7.866, allocations: 3.781 kB / 3.678 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007686/7.867, allocations: 0.5354 MB / 3.679 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/7.867, allocations: 6.719 kB / 3.679 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/7.867, allocations: 5.453 kB / 3.679 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/7.868, allocations: 123.6 kB / 3.679 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/7.868, allocations: 0 / 3.679 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/7.869, allocations: 109 kB / 3.679 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/7.869, allocations: 32.83 kB / 3.679 GB, free: 178.5 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.0001668/7.869, allocations: 121 kB / 3.679 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00086/7.87, allocations: 0.6144 MB / 3.68 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/7.87, allocations: 101.7 kB / 3.68 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/7.871, allocations: 0.705 MB / 3.681 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/7.871, allocations: 7.125 kB / 3.681 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/7.871, allocations: 3.953 kB / 3.681 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/7.871, allocations: 0 / 3.681 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/7.873, allocations: 1.792 MB / 3.682 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/7.873, allocations: 2.844 kB / 3.682 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/7.874, allocations: 118.5 kB / 3.682 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/7.874, allocations: 9.312 kB / 3.682 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/7.874, allocations: 10.22 kB / 3.682 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/7.874, allocations: 3.688 kB / 3.682 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/7.874, allocations: 3.656 kB / 3.682 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/7.875, allocations: 1.191 MB / 3.684 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/7.876, allocations: 296.6 kB / 3.684 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/7.876, allocations: 3.906 kB / 3.684 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009339/7.877, allocations: 78.84 kB / 3.684 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.7e-05/7.877, allocations: 45.97 kB / 3.684 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.666e-05/7.877, allocations: 23.88 kB / 3.684 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008359/7.878, allocations: 0.7523 MB / 3.685 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.878, allocations: 0 / 3.685 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001609/7.88, allocations: 0.5384 MB / 3.685 GB, free: 177.1 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.003466/7.883, allocations: 4.114 MB / 3.689 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001185/7.884, allocations: 0.9072 MB / 3.69 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/7.884, allocations: 0 / 3.69 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/7.885, allocations: 283.5 kB / 3.69 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/7.887, allocations: 406.6 kB / 3.691 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/7.889, allocations: 1.47 MB / 3.692 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/7.889, allocations: 1.078 MB / 3.693 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001434/7.891, allocations: 387 kB / 3.694 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/7.891, allocations: 368.1 kB / 3.694 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/7.891, allocations: 3.281 kB / 3.694 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06226/7.954, allocations: 40.13 MB / 3.733 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/7.954, allocations: 181.7 kB / 3.733 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/11.21, allocations: 0 / 3.733 GB, free: 169.4 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)