Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001444/0.001443, allocations: 181 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.0008396/0.0008395, allocations: 92.05 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003574, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3518, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.365/6.716, allocations: 2.085 GB / 3.073 GB, free: 133.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003847/6.717, allocations: 97.88 kB / 3.073 GB, free: 133.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.85/9.567, allocations: 0.6058 GB / 3.679 GB, free: 164 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.925e-06/9.567, allocations: 2.531 kB / 3.679 GB, free: 164 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002221/9.567, allocations: 34.19 kB / 3.679 GB, free: 164 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.007256/9.575, allocations: 1.716 MB / 3.681 GB, free: 163.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/9.575, allocations: 9.625 kB / 3.681 GB, free: 163.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004285/9.575, allocations: 93.06 kB / 3.681 GB, free: 163.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/9.578, allocations: 238.3 kB / 3.681 GB, free: 163.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/9.582, allocations: 1.074 MB / 3.682 GB, free: 162.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-05/9.582, allocations: 44.69 kB / 3.682 GB, free: 162.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/9.582, allocations: 66.56 kB / 3.682 GB, free: 162.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/9.584, allocations: 0.711 MB / 3.683 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/9.584, allocations: 0 / 3.683 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/9.584, allocations: 21.25 kB / 3.683 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/9.584, allocations: 11.69 kB / 3.683 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/9.586, allocations: 0.6576 MB / 3.683 GB, free: 162.7 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006618/9.593, allocations: 2.738 MB / 3.686 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/9.594, allocations: 0.5753 MB / 3.687 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004407/9.595, allocations: 291.6 kB / 3.687 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/9.595, allocations: 41.44 kB / 3.687 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001597/9.596, allocations: 231 kB / 3.687 GB, free: 161.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 8.676e-06/9.596, allocations: 0 / 3.687 GB, free: 161.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.003399/9.6, allocations: 1.057 MB / 3.688 GB, free: 161.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/9.6, allocations: 135.9 kB / 3.688 GB, free: 161.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/9.602, allocations: 1.128 MB / 3.689 GB, free: 161.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/9.602, allocations: 41.02 kB / 3.689 GB, free: 161.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/9.603, allocations: 456.7 kB / 3.69 GB, free: 161.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/9.603, allocations: 149.2 kB / 3.69 GB, free: 161 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/9.603, allocations: 4.031 kB / 3.69 GB, free: 161 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/9.603, allocations: 323 kB / 3.69 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/9.604, allocations: 292.7 kB / 3.691 GB, free: 160.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008143/9.605, allocations: 0.527 MB / 3.691 GB, free: 160.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007183/9.605, allocations: 346.8 kB / 3.691 GB, free: 160.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/9.605, allocations: 0 / 3.691 GB, free: 160.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001822/9.607, allocations: 0.7975 MB / 3.692 GB, free: 160.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.313e-05/9.607, allocations: 96.12 kB / 3.692 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/9.607, allocations: 5.844 kB / 3.692 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/9.607, allocations: 1.344 kB / 3.692 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/9.608, allocations: 126 kB / 3.692 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/9.608, allocations: 1.156 kB / 3.692 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/9.61, allocations: 119.3 kB / 3.693 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-05/9.61, allocations: 30.2 kB / 3.693 GB, free: 160.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/9.61, allocations: 7.781 kB / 3.693 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001331/9.611, allocations: 0.6704 MB / 3.693 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/9.611, allocations: 0 / 3.693 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/9.611, allocations: 3.531 kB / 3.693 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/9.612, allocations: 129.2 kB / 3.693 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/9.612, allocations: 3.219 kB / 3.693 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/9.613, allocations: 122 kB / 3.693 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/9.613, allocations: 31.16 kB / 3.694 GB, free: 160.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 () * Number of clocked 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.0005734/9.614, allocations: 333.5 kB / 3.694 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/9.614, allocations: 108.1 kB / 3.694 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/9.616, allocations: 0.8401 MB / 3.695 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/9.616, allocations: 6.25 kB / 3.695 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/9.616, allocations: 3.469 kB / 3.695 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/9.616, allocations: 7.516 kB / 3.695 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/9.619, allocations: 1.995 MB / 3.697 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/9.619, allocations: 2.031 kB / 3.697 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/9.619, allocations: 121.4 kB / 3.697 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/9.619, allocations: 7.438 kB / 3.697 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/9.62, allocations: 14.22 kB / 3.697 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/9.62, allocations: 3.562 kB / 3.697 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/9.62, allocations: 7.609 kB / 3.697 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/9.622, allocations: 1.385 MB / 3.698 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005841/9.622, allocations: 305.2 kB / 3.699 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/9.623, allocations: 16.3 kB / 3.699 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/9.624, allocations: 81.19 kB / 3.699 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/9.624, allocations: 51.28 kB / 3.699 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/9.624, allocations: 23.66 kB / 3.699 GB, free: 158.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001524/9.625, allocations: 0.8907 MB / 3.7 GB, free: 158.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.11e-07/9.625, allocations: 0 / 3.7 GB, free: 158.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002252/9.628, allocations: 0.6035 MB / 3.7 GB, free: 158.8 MB / 0.948 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 () * Number of clocked 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.004948/9.633, allocations: 4.111 MB / 3.704 GB, free: 156.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002114/9.635, allocations: 1.045 MB / 3.705 GB, free: 156.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/9.635, allocations: 3.344 kB / 3.705 GB, free: 156.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006064/9.635, allocations: 346.9 kB / 3.706 GB, free: 156.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/9.638, allocations: 470.4 kB / 3.706 GB, free: 156.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/9.643, allocations: 2.525 MB / 3.708 GB, free: 155.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/9.643, allocations: 1.07 MB / 3.709 GB, free: 154.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001375/9.645, allocations: 295.8 kB / 3.71 GB, free: 154.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006575/9.645, allocations: 405.2 kB / 3.71 GB, free: 154.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.054e-06/9.645, allocations: 0 / 3.71 GB, free: 154.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09008/9.735, allocations: 54.07 MB / 3.763 GB, free: 148.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/9.736, allocations: 217.9 kB / 3.763 GB, free: 148.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.899/13.64, allocations: 0 / 3.763 GB, free: 148.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)