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 2.688/2.688, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.00155/0.00155, allocations: 192.9 kB / 370.8 MB, free: 10.83 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.394/2.394, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001597/0.001597, allocations: 84.8 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006249/0.0006248, allocations: 12.53 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2201, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.022/7.243, allocations: 2.085 GB / 3.063 GB, free: 188.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/7.243, allocations: 102.4 kB / 3.063 GB, free: 188.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.955/11.2, allocations: 0.7444 GB / 3.807 GB, free: 169.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.354e-06/11.2, allocations: 0 / 3.807 GB, free: 169.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002362/11.2, allocations: 39.27 kB / 3.807 GB, free: 169.8 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.009988/11.21, allocations: 2.097 MB / 3.809 GB, free: 167.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/11.21, allocations: 8.031 kB / 3.809 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005652/11.21, allocations: 110.5 kB / 3.809 GB, free: 167.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005367/11.21, allocations: 302.6 kB / 3.81 GB, free: 167.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007002/11.22, allocations: 1.387 MB / 3.811 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/11.22, allocations: 57.25 kB / 3.811 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/11.22, allocations: 80 kB / 3.811 GB, free: 165.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/11.23, allocations: 0.9534 MB / 3.812 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/11.23, allocations: 0 / 3.812 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/11.23, allocations: 28 kB / 3.812 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/11.23, allocations: 20 kB / 3.812 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003127/11.23, allocations: 0.864 MB / 3.813 GB, free: 163.8 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.01081/11.24, allocations: 3.565 MB / 3.817 GB, free: 160.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/11.24, allocations: 0.7903 MB / 3.817 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005505/11.24, allocations: 291.7 kB / 3.818 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/11.24, allocations: 43 kB / 3.818 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003136/11.25, allocations: 339.2 kB / 3.818 GB, free: 158.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 6.232e-06/11.25, allocations: 4 kB / 3.818 GB, free: 158.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.005437/11.25, allocations: 1.348 MB / 3.819 GB, free: 157.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/11.25, allocations: 214.1 kB / 3.82 GB, free: 156.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004171/11.26, allocations: 1.476 MB / 3.821 GB, free: 155.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004182/11.26, allocations: 45.7 kB / 3.821 GB, free: 155.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006316/11.26, allocations: 0.5546 MB / 3.822 GB, free: 154.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000283/11.26, allocations: 185.8 kB / 3.822 GB, free: 154.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/11.26, allocations: 8 kB / 3.822 GB, free: 154.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.105e-05/11.26, allocations: 330 kB / 3.822 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/11.26, allocations: 380.9 kB / 3.822 GB, free: 153.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/11.26, allocations: 0.7096 MB / 3.823 GB, free: 153.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/11.26, allocations: 465 kB / 3.824 GB, free: 152.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/11.26, allocations: 4 kB / 3.824 GB, free: 152.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003783/11.27, allocations: 1.056 MB / 3.825 GB, free: 151.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/11.27, allocations: 103.1 kB / 3.825 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/11.27, allocations: 4 kB / 3.825 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/11.27, allocations: 8 kB / 3.825 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/11.27, allocations: 163.8 kB / 3.825 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/11.27, allocations: 0 / 3.825 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003516/11.27, allocations: 151.8 kB / 3.825 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003328/11.27, allocations: 43.94 kB / 3.825 GB, free: 151.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/11.27, allocations: 4 kB / 3.825 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003022/11.27, allocations: 0.8993 MB / 3.826 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/11.27, allocations: 7.938 kB / 3.826 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/11.27, allocations: 4 kB / 3.826 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/11.28, allocations: 159.8 kB / 3.826 GB, free: 150 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/11.28, allocations: 4 kB / 3.826 GB, free: 150 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/11.28, allocations: 155.6 kB / 3.826 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/11.28, allocations: 47.94 kB / 3.826 GB, free: 149.8 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 (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.0009741/11.28, allocations: 380.9 kB / 3.827 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006309/11.28, allocations: 134.3 kB / 3.827 GB, free: 149.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/11.29, allocations: 1.078 MB / 3.828 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/11.29, allocations: 4 kB / 3.828 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/11.29, allocations: 0 / 3.828 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/11.29, allocations: 7.938 kB / 3.828 GB, free: 148.2 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 postOpt removeSimpleEquations (simulation): time 0.0068/11.29, allocations: 2.522 MB / 3.83 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/11.29, allocations: 0 / 3.83 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/11.29, allocations: 139.8 kB / 3.83 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/11.29, allocations: 4 kB / 3.83 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.792e-05/11.29, allocations: 28.27 kB / 3.83 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/11.29, allocations: 11.94 kB / 3.83 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/11.29, allocations: 0 / 3.83 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00471/11.3, allocations: 1.701 MB / 3.832 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/11.3, allocations: 371.1 kB / 3.832 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004975/11.3, allocations: 23.94 kB / 3.833 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/11.3, allocations: 107.8 kB / 3.833 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/11.3, allocations: 44.38 kB / 3.833 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-05/11.3, allocations: 31.98 kB / 3.833 GB, free: 143 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003313/11.31, allocations: 1.156 MB / 3.834 GB, free: 141.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.21e-07/11.31, allocations: 0 / 3.834 GB, free: 141.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003759/11.31, allocations: 0.7336 MB / 3.835 GB, free: 141.1 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 () * Number of clocked 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.008248/11.32, allocations: 4.642 MB / 3.839 GB, free: 136.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004453/11.32, allocations: 1.43 MB / 3.84 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/11.32, allocations: 0 / 3.84 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/11.32, allocations: 426.7 kB / 3.841 GB, free: 134.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006024/11.33, allocations: 0.5835 MB / 3.841 GB, free: 133.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007705/11.34, allocations: 3.179 MB / 3.845 GB, free: 130.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/11.34, allocations: 1.196 MB / 3.846 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003022/11.34, allocations: 377.5 kB / 3.846 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/11.34, allocations: 0.5266 MB / 3.847 GB, free: 128.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/11.34, allocations: 4 kB / 3.847 GB, free: 128.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/11.49, allocations: 65.68 MB / 3.911 GB, free: 63.23 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/11.49, allocations: 234.3 kB / 3.911 GB, free: 62.98 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.588/17.07, allocations: 0 / 3.911 GB, free: 62.98 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)