Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.885/1.885, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.001609/0.001609, allocations: 172.9 kB / 366.7 MB, free: 1.68 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.752/1.752, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0008611/0.0008611, allocations: 90.55 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.535e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7798/0.7798, allocations: 116.3 MB / 0.9733 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.505/6.285, allocations: 2.085 GB / 3.058 GB, free: 43.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/6.286, allocations: 91.94 kB / 3.058 GB, free: 43.67 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.838/9.124, allocations: 0.7352 GB / 3.793 GB, free: 35.71 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.713e-06/9.124, allocations: 4 kB / 3.793 GB, free: 35.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001419/9.124, allocations: 39.92 kB / 3.794 GB, free: 35.66 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.004343/9.129, allocations: 1.587 MB / 3.795 GB, free: 34.03 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.617e-05/9.129, allocations: 8.031 kB / 3.795 GB, free: 34.02 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/9.132, allocations: 309.8 kB / 3.795 GB, free: 33.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/9.135, allocations: 1.333 MB / 3.797 GB, free: 32.33 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/9.135, allocations: 20 kB / 3.797 GB, free: 32.31 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/9.136, allocations: 48 kB / 3.797 GB, free: 32.27 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001152/9.137, allocations: 0.7484 MB / 3.797 GB, free: 31.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/9.138, allocations: 0.8103 MB / 3.798 GB, free: 30.67 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/9.138, allocations: 0 / 3.798 GB, free: 30.67 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/9.138, allocations: 0 / 3.798 GB, free: 30.67 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/9.138, allocations: 16 kB / 3.798 GB, free: 30.66 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.006601/9.145, allocations: 3.406 MB / 3.802 GB, free: 27.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009688/9.146, allocations: 0.7089 MB / 3.802 GB, free: 26.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004281/9.146, allocations: 394.6 kB / 3.803 GB, free: 25.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003592/9.146, allocations: 303.6 kB / 3.803 GB, free: 25.62 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/9.146, allocations: 42.94 kB / 3.803 GB, free: 25.57 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001573/9.148, allocations: 307.4 kB / 3.803 GB, free: 25.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 3.927e-06/9.148, allocations: 3.938 kB / 3.803 GB, free: 25.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.001857/9.15, allocations: 0.8694 MB / 3.804 GB, free: 24.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/9.15, allocations: 218.1 kB / 3.804 GB, free: 24.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/9.152, allocations: 1.249 MB / 3.806 GB, free: 22.87 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/9.152, allocations: 29.7 kB / 3.806 GB, free: 22.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/9.152, allocations: 0.5759 MB / 3.806 GB, free: 22.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/9.152, allocations: 173.3 kB / 3.806 GB, free: 22.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/9.153, allocations: 0 / 3.806 GB, free: 22.08 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.157e-05/9.153, allocations: 333.9 kB / 3.807 GB, free: 21.75 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/9.153, allocations: 329 kB / 3.807 GB, free: 21.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/9.154, allocations: 0.6298 MB / 3.808 GB, free: 20.66 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/9.154, allocations: 423.2 kB / 3.808 GB, free: 20.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/9.154, allocations: 0 / 3.808 GB, free: 20.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001562/9.156, allocations: 0.9269 MB / 3.809 GB, free: 19.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/9.156, allocations: 102.1 kB / 3.809 GB, free: 19.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/9.156, allocations: 0 / 3.809 GB, free: 19.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/9.156, allocations: 7.984 kB / 3.809 GB, free: 19.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008365/9.157, allocations: 159.8 kB / 3.809 GB, free: 19.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/9.157, allocations: 0 / 3.809 GB, free: 19.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/9.159, allocations: 135.8 kB / 3.809 GB, free: 18.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/9.159, allocations: 47.91 kB / 3.809 GB, free: 18.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/9.159, allocations: 4 kB / 3.809 GB, free: 18.87 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001174/9.16, allocations: 0.7588 MB / 3.81 GB, free: 18.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/9.16, allocations: 0 / 3.81 GB, free: 18.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/9.16, allocations: 4 kB / 3.81 GB, free: 18.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/9.161, allocations: 159.8 kB / 3.81 GB, free: 17.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/9.161, allocations: 4 kB / 3.81 GB, free: 17.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/9.163, allocations: 143.7 kB / 3.81 GB, free: 17.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/9.163, allocations: 39.95 kB / 3.81 GB, free: 17.77 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 (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.000228/9.163, allocations: 120.9 kB / 3.811 GB, free: 17.64 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001465/9.165, allocations: 0.8146 MB / 3.811 GB, free: 16.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/9.165, allocations: 122.5 kB / 3.811 GB, free: 16.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/9.166, allocations: 0.9133 MB / 3.812 GB, free: 15.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/9.166, allocations: 12 kB / 3.812 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/9.167, allocations: 3.938 kB / 3.812 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/9.167, allocations: 0 / 3.812 GB, free: 15.76 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 postOpt removeSimpleEquations (simulation): time 0.003417/9.17, allocations: 2.281 MB / 3.815 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/9.17, allocations: 4 kB / 3.815 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007186/9.171, allocations: 140 kB / 3.815 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/9.171, allocations: 15.95 kB / 3.815 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/9.171, allocations: 19.92 kB / 3.815 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/9.171, allocations: 4 kB / 3.815 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/9.171, allocations: 11.94 kB / 3.815 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/9.173, allocations: 1.481 MB / 3.816 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000819/9.174, allocations: 359.3 kB / 3.817 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/9.174, allocations: 4 kB / 3.817 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/9.175, allocations: 91.88 kB / 3.817 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/9.176, allocations: 52.31 kB / 3.817 GB, free: 11.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.378e-05/9.176, allocations: 24 kB / 3.817 GB, free: 11.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001632/9.177, allocations: 0.9659 MB / 3.818 GB, free: 10.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/9.177, allocations: 0 / 3.818 GB, free: 10.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002458/9.18, allocations: 0.6746 MB / 3.818 GB, free: 9.465 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 () * 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.004849/9.185, allocations: 4.63 MB / 3.823 GB, free: 4.668 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002084/9.187, allocations: 1.286 MB / 3.824 GB, free: 3.352 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/9.187, allocations: 0 / 3.824 GB, free: 3.352 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004954/9.187, allocations: 361.8 kB / 3.824 GB, free: 3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/9.191, allocations: 0.4948 MB / 3.825 GB, free: 2.508 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005321/9.196, allocations: 1.899 MB / 3.827 GB, free: 0.543 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7726/9.969, allocations: 1.196 MB / 3.828 GB, free: 171.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003116/9.972, allocations: 498.2 kB / 3.828 GB, free: 171.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007972/9.973, allocations: 494.2 kB / 3.829 GB, free: 171.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.593e-06/9.973, allocations: 0.6875 kB / 3.829 GB, free: 171.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/10.09, allocations: 49.53 MB / 3.877 GB, free: 170.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/10.09, allocations: 182.9 kB / 3.877 GB, free: 170.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.027/14.11, allocations: 0 / 3.877 GB, free: 170.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)