Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.5 MB / 257 MB, free: 6.953 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.0009622/0.0009622, allocations: 183.3 kB / 316.3 MB, free: 3.227 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.493/1.493, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0009766/0.0009766, allocations: 85.12 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.907e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2065, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.618/5.825, allocations: 2.203 GB / 3.088 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/5.825, allocations: 92.19 kB / 3.088 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.377/8.202, allocations: 0.7114 GB / 3.8 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.763e-06/8.202, allocations: 0 / 3.8 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001243/8.202, allocations: 39.06 kB / 3.8 GB, free: 108.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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003231/8.205, allocations: 1.589 MB / 3.801 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/8.205, allocations: 12.02 kB / 3.801 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002532/8.208, allocations: 310.5 kB / 3.802 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/8.21, allocations: 1.343 MB / 3.803 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/8.21, allocations: 20 kB / 3.803 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/8.21, allocations: 48 kB / 3.803 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001031/8.211, allocations: 0.7367 MB / 3.804 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/8.213, allocations: 0.8065 MB / 3.804 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/8.213, allocations: 4 kB / 3.804 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.574e-05/8.213, allocations: 0 / 3.804 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/8.213, allocations: 16 kB / 3.805 GB, free: 103.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.004733/8.217, allocations: 3.398 MB / 3.808 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008458/8.218, allocations: 0.7079 MB / 3.809 GB, free: 99.55 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/8.219, allocations: 398 kB / 3.809 GB, free: 99.16 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003462/8.219, allocations: 299.2 kB / 3.809 GB, free: 98.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/8.219, allocations: 42.95 kB / 3.809 GB, free: 98.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001399/8.22, allocations: 300.8 kB / 3.81 GB, free: 98.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 3.576e-06/8.22, allocations: 4 kB / 3.81 GB, free: 98.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.00159/8.222, allocations: 0.8731 MB / 3.81 GB, free: 97.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/8.222, allocations: 218.1 kB / 3.811 GB, free: 97.33 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/8.224, allocations: 1.245 MB / 3.812 GB, free: 96.08 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.791e-05/8.224, allocations: 29.7 kB / 3.812 GB, free: 96.05 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/8.224, allocations: 0.5692 MB / 3.812 GB, free: 95.47 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/8.224, allocations: 177.3 kB / 3.813 GB, free: 95.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/8.224, allocations: 4 kB / 3.813 GB, free: 95.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.656e-05/8.224, allocations: 326 kB / 3.813 GB, free: 94.96 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/8.225, allocations: 329 kB / 3.813 GB, free: 94.64 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/8.225, allocations: 0.643 MB / 3.814 GB, free: 93.87 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/8.226, allocations: 411.5 kB / 3.814 GB, free: 93.47 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/8.226, allocations: 0 / 3.814 GB, free: 93.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001297/8.227, allocations: 0.9153 MB / 3.815 GB, free: 92.55 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/8.227, allocations: 101.8 kB / 3.815 GB, free: 92.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/8.227, allocations: 7.938 kB / 3.815 GB, free: 92.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/8.227, allocations: 7.984 kB / 3.815 GB, free: 92.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/8.228, allocations: 163.7 kB / 3.815 GB, free: 92.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/8.228, allocations: 0 / 3.815 GB, free: 92.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/8.23, allocations: 135.8 kB / 3.815 GB, free: 92.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/8.23, allocations: 47.89 kB / 3.816 GB, free: 92.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/8.23, allocations: 9.562 kB / 3.816 GB, free: 92.08 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001058/8.231, allocations: 0.7471 MB / 3.816 GB, free: 91.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/8.231, allocations: 4 kB / 3.816 GB, free: 91.33 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.229e-06/8.231, allocations: 4 kB / 3.816 GB, free: 91.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/8.232, allocations: 159.7 kB / 3.816 GB, free: 91.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/8.232, allocations: 7.953 kB / 3.816 GB, free: 91.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/8.233, allocations: 131.8 kB / 3.817 GB, free: 91.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-05/8.233, allocations: 43.95 kB / 3.817 GB, free: 90.99 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 (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.0001872/8.233, allocations: 116.9 kB / 3.817 GB, free: 90.87 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001137/8.234, allocations: 0.8263 MB / 3.818 GB, free: 90.04 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/8.235, allocations: 122.4 kB / 3.818 GB, free: 89.91 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/8.236, allocations: 0.921 MB / 3.819 GB, free: 88.98 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/8.236, allocations: 4 kB / 3.819 GB, free: 88.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/8.236, allocations: 0 / 3.819 GB, free: 88.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/8.236, allocations: 11.98 kB / 3.819 GB, free: 88.96 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 postOpt removeSimpleEquations (simulation): time 0.002986/8.239, allocations: 2.276 MB / 3.821 GB, free: 86.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/8.239, allocations: 3.938 kB / 3.821 GB, free: 86.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006894/8.24, allocations: 135.8 kB / 3.821 GB, free: 86.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/8.24, allocations: 7.984 kB / 3.821 GB, free: 86.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.665e-05/8.24, allocations: 8.281 kB / 3.821 GB, free: 86.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/8.24, allocations: 8 kB / 3.821 GB, free: 86.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/8.24, allocations: 4 kB / 3.821 GB, free: 86.46 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/8.242, allocations: 1.492 MB / 3.822 GB, free: 84.88 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/8.242, allocations: 363.2 kB / 3.823 GB, free: 84.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/8.242, allocations: 8 kB / 3.823 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/8.244, allocations: 91.78 kB / 3.823 GB, free: 84.41 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/8.244, allocations: 52.31 kB / 3.823 GB, free: 84.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/8.244, allocations: 27.98 kB / 3.823 GB, free: 84.33 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00113/8.245, allocations: 0.962 MB / 3.824 GB, free: 83.37 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/8.245, allocations: 0 / 3.824 GB, free: 83.37 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001942/8.247, allocations: 0.6783 MB / 3.825 GB, free: 82.69 MB / 0.8698 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 () * 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.004147/8.251, allocations: 4.632 MB / 3.829 GB, free: 78.11 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001603/8.253, allocations: 1.282 MB / 3.83 GB, free: 76.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/8.253, allocations: 4 kB / 3.83 GB, free: 76.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004/8.253, allocations: 353.4 kB / 3.831 GB, free: 76.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/8.256, allocations: 0.5001 MB / 3.831 GB, free: 75.96 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/8.26, allocations: 1.905 MB / 3.833 GB, free: 73.98 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/8.26, allocations: 1.202 MB / 3.834 GB, free: 72.75 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001996/8.262, allocations: 497 kB / 3.835 GB, free: 72.26 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005457/8.263, allocations: 499.2 kB / 3.835 GB, free: 71.77 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/8.263, allocations: 0 / 3.835 GB, free: 71.77 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07221/8.335, allocations: 49.47 MB / 3.883 GB, free: 22.53 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/8.335, allocations: 187.2 kB / 3.884 GB, free: 22.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.632/11.97, allocations: 2.656 kB / 3.884 GB, free: 22.34 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)