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.671/1.671, allocations: 289.7 MB / 302.3 MB, free: 2.125 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.001087/0.001087, allocations: 179.7 kB / 371.6 MB, free: 3.418 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.794/1.794, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.001023/0.001023, allocations: 91.67 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.674e-05/4.699e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3022, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.577/6.879, allocations: 2.084 GB / 3.064 GB, free: 155.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/6.88, allocations: 94.42 kB / 3.064 GB, free: 155.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.79/9.67, allocations: 0.6052 GB / 3.67 GB, free: 163.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.302e-06/9.67, allocations: 0 / 3.67 GB, free: 163.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001823/9.67, allocations: 34.2 kB / 3.67 GB, free: 163.2 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.004393/9.674, allocations: 1.327 MB / 3.671 GB, free: 162.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/9.674, allocations: 10.88 kB / 3.671 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003582/9.675, allocations: 91.72 kB / 3.671 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/9.677, allocations: 238.5 kB / 3.671 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003365/9.681, allocations: 1.043 MB / 3.672 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.671e-05/9.681, allocations: 44.47 kB / 3.672 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/9.681, allocations: 60.56 kB / 3.672 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/9.683, allocations: 0.6647 MB / 3.673 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/9.683, allocations: 0 / 3.673 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.78e-05/9.683, allocations: 22.5 kB / 3.673 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/9.683, allocations: 14.64 kB / 3.673 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/9.684, allocations: 0.5494 MB / 3.674 GB, free: 162 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.005913/9.69, allocations: 2.735 MB / 3.676 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/9.691, allocations: 0.5136 MB / 3.677 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/9.692, allocations: 316.2 kB / 3.677 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/9.692, allocations: 291.5 kB / 3.677 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/9.692, allocations: 37.5 kB / 3.677 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001254/9.693, allocations: 228.4 kB / 3.678 GB, free: 160.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 5.039e-06/9.693, allocations: 0 / 3.678 GB, free: 160.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.001743/9.695, allocations: 0.6935 MB / 3.678 GB, free: 160.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/9.695, allocations: 137.5 kB / 3.678 GB, free: 160.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/9.697, allocations: 1.097 MB / 3.679 GB, free: 160.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.397e-05/9.697, allocations: 42.27 kB / 3.68 GB, free: 160.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/9.697, allocations: 450.9 kB / 3.68 GB, free: 160.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/9.698, allocations: 143.7 kB / 3.68 GB, free: 160.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/9.698, allocations: 11.23 kB / 3.68 GB, free: 160.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/9.698, allocations: 326.2 kB / 3.68 GB, free: 160 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/9.698, allocations: 234 kB / 3.681 GB, free: 160 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/9.699, allocations: 494 kB / 3.681 GB, free: 159.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/9.699, allocations: 298.5 kB / 3.681 GB, free: 159.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/9.699, allocations: 0 / 3.681 GB, free: 159.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001198/9.7, allocations: 0.6959 MB / 3.682 GB, free: 159.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/9.701, allocations: 102.2 kB / 3.682 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/9.701, allocations: 1.312 kB / 3.682 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/9.701, allocations: 2.562 kB / 3.682 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/9.701, allocations: 128.9 kB / 3.682 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/9.701, allocations: 2.219 kB / 3.682 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/9.703, allocations: 119.1 kB / 3.682 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-05/9.703, allocations: 30.48 kB / 3.682 GB, free: 159.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/9.703, allocations: 4.844 kB / 3.682 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00102/9.704, allocations: 0.575 MB / 3.683 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/9.704, allocations: 4.734 kB / 3.683 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.137e-06/9.704, allocations: 1.719 kB / 3.683 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/9.704, allocations: 126 kB / 3.683 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/9.704, allocations: 1.281 kB / 3.683 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/9.705, allocations: 122.8 kB / 3.683 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/9.705, allocations: 28.66 kB / 3.683 GB, free: 159.5 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 (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.0001547/9.706, allocations: 134.6 kB / 3.683 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/9.706, allocations: 107.2 kB / 3.683 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/9.707, allocations: 0.7494 MB / 3.684 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/9.707, allocations: 8.562 kB / 3.684 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/9.707, allocations: 1.125 kB / 3.684 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/9.707, allocations: 0 / 3.684 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/9.71, allocations: 1.89 MB / 3.686 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/9.71, allocations: 6.047 kB / 3.686 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000591/9.711, allocations: 120.2 kB / 3.686 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/9.711, allocations: 7.656 kB / 3.686 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/9.711, allocations: 15.84 kB / 3.686 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/9.711, allocations: 7.406 kB / 3.686 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/9.711, allocations: 2.75 kB / 3.686 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/9.713, allocations: 1.24 MB / 3.687 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/9.713, allocations: 309.3 kB / 3.688 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/9.713, allocations: 10.73 kB / 3.688 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/9.714, allocations: 89.2 kB / 3.688 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/9.715, allocations: 45.98 kB / 3.688 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/9.715, allocations: 25.3 kB / 3.688 GB, free: 158.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00137/9.716, allocations: 0.8636 MB / 3.689 GB, free: 158.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/9.716, allocations: 1.156 kB / 3.689 GB, free: 158.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002338/9.718, allocations: 0.6007 MB / 3.689 GB, free: 158.2 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 () * 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.0047/9.723, allocations: 3.951 MB / 3.693 GB, free: 156.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001727/9.725, allocations: 0.9457 MB / 3.694 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/9.725, allocations: 1.219 kB / 3.694 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004548/9.725, allocations: 300.8 kB / 3.694 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/9.728, allocations: 463.3 kB / 3.695 GB, free: 156.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/9.731, allocations: 1.538 MB / 3.696 GB, free: 155.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/9.732, allocations: 1.074 MB / 3.697 GB, free: 154.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001748/9.733, allocations: 416 kB / 3.698 GB, free: 154.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005556/9.734, allocations: 378.7 kB / 3.698 GB, free: 154.9 MB / 0.948 GB Notification: Performance of SimCode: time 8.42e-07/9.734, allocations: 3.562 kB / 3.698 GB, free: 154.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09051/9.825, allocations: 60.18 MB / 3.757 GB, free: 151.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001279/9.825, allocations: 194.7 kB / 3.757 GB, free: 151.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.25/14.07, allocations: 4 kB / 3.757 GB, free: 151.5 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)