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.915/1.915, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001109/0.001109, allocations: 180.9 kB / 371.6 MB, free: 3.391 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.8/1.8, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009844/0.0009844, allocations: 95.88 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.828e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2974, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.774/7.072, allocations: 2.086 GB / 3.065 GB, free: 109.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/7.072, allocations: 95.58 kB / 3.066 GB, free: 109.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.049/10.12, allocations: 0.7437 GB / 3.809 GB, free: 88.54 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.543e-06/10.12, allocations: 0 / 3.809 GB, free: 88.54 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002888/10.12, allocations: 43.98 kB / 3.809 GB, free: 88.49 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.005105/10.13, allocations: 1.584 MB / 3.811 GB, free: 86.86 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/10.13, allocations: 8.031 kB / 3.811 GB, free: 86.85 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004038/10.13, allocations: 110.5 kB / 3.811 GB, free: 86.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003311/10.13, allocations: 301.9 kB / 3.811 GB, free: 86.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/10.13, allocations: 1.344 MB / 3.813 GB, free: 85.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.212e-05/10.13, allocations: 57.31 kB / 3.813 GB, free: 84.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/10.14, allocations: 76 kB / 3.813 GB, free: 84.91 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/10.14, allocations: 0.8989 MB / 3.814 GB, free: 83.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/10.14, allocations: 0 / 3.814 GB, free: 83.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.064e-05/10.14, allocations: 24 kB / 3.814 GB, free: 83.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/10.14, allocations: 16 kB / 3.814 GB, free: 83.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/10.14, allocations: 0.7704 MB / 3.814 GB, free: 83.17 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.00634/10.14, allocations: 3.563 MB / 3.818 GB, free: 79.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009698/10.15, allocations: 0.724 MB / 3.819 GB, free: 78.69 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004773/10.15, allocations: 411.5 kB / 3.819 GB, free: 78.29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003542/10.15, allocations: 291.7 kB / 3.819 GB, free: 77.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/10.15, allocations: 39 kB / 3.819 GB, free: 77.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001586/10.15, allocations: 335.3 kB / 3.82 GB, free: 77.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 3.036e-06/10.15, allocations: 0 / 3.82 GB, free: 77.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.001605/10.15, allocations: 0.8887 MB / 3.82 GB, free: 76.67 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/10.15, allocations: 214 kB / 3.821 GB, free: 76.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/10.15, allocations: 1.425 MB / 3.822 GB, free: 74.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-05/10.15, allocations: 45.7 kB / 3.822 GB, free: 74.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/10.15, allocations: 0.5745 MB / 3.823 GB, free: 74.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/10.15, allocations: 189.2 kB / 3.823 GB, free: 74.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/10.15, allocations: 8 kB / 3.823 GB, free: 74.15 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/10.15, allocations: 330 kB / 3.823 GB, free: 73.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/10.15, allocations: 329 kB / 3.823 GB, free: 73.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006744/10.15, allocations: 0.6543 MB / 3.824 GB, free: 72.72 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/10.15, allocations: 412.3 kB / 3.824 GB, free: 72.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/10.15, allocations: 4 kB / 3.824 GB, free: 72.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001351/10.16, allocations: 0.9502 MB / 3.825 GB, free: 71.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/10.16, allocations: 101.5 kB / 3.825 GB, free: 71.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/10.16, allocations: 0 / 3.825 GB, free: 71.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/10.16, allocations: 7.938 kB / 3.825 GB, free: 71.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/10.16, allocations: 167.7 kB / 3.826 GB, free: 71.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/10.16, allocations: 4 kB / 3.826 GB, free: 71.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/10.16, allocations: 151.8 kB / 3.826 GB, free: 70.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/10.16, allocations: 39.95 kB / 3.826 GB, free: 70.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.677e-06/10.16, allocations: 4 kB / 3.826 GB, free: 70.88 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/10.16, allocations: 0.7939 MB / 3.827 GB, free: 70.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/10.16, allocations: 7.984 kB / 3.827 GB, free: 70.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/10.16, allocations: 0 / 3.827 GB, free: 70.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/10.16, allocations: 163.7 kB / 3.827 GB, free: 69.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/10.16, allocations: 4 kB / 3.827 GB, free: 69.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/10.16, allocations: 151.8 kB / 3.827 GB, free: 69.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.785e-05/10.16, allocations: 43.95 kB / 3.827 GB, free: 69.72 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.0002199/10.16, allocations: 146.5 kB / 3.827 GB, free: 69.57 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/10.16, allocations: 134.3 kB / 3.827 GB, free: 69.44 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/10.16, allocations: 0.9728 MB / 3.828 GB, free: 68.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/10.16, allocations: 8 kB / 3.828 GB, free: 68.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/10.16, allocations: 4 kB / 3.828 GB, free: 68.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/10.16, allocations: 3.984 kB / 3.828 GB, free: 68.44 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.003278/10.17, allocations: 2.413 MB / 3.831 GB, free: 65.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/10.17, allocations: 4 kB / 3.831 GB, free: 65.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/10.17, allocations: 136.1 kB / 3.831 GB, free: 65.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/10.17, allocations: 12 kB / 3.831 GB, free: 65.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/10.17, allocations: 19.98 kB / 3.831 GB, free: 65.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/10.17, allocations: 4 kB / 3.831 GB, free: 65.76 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/10.17, allocations: 7.953 kB / 3.831 GB, free: 65.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/10.17, allocations: 1.541 MB / 3.832 GB, free: 64.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006068/10.17, allocations: 367.2 kB / 3.833 GB, free: 63.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/10.17, allocations: 19.98 kB / 3.833 GB, free: 63.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/10.17, allocations: 107.7 kB / 3.833 GB, free: 63.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/10.17, allocations: 48.31 kB / 3.833 GB, free: 63.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/10.17, allocations: 31.94 kB / 3.833 GB, free: 63.51 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00149/10.17, allocations: 1.12 MB / 3.834 GB, free: 62.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/10.17, allocations: 0 / 3.834 GB, free: 62.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00261/10.18, allocations: 0.7298 MB / 3.835 GB, free: 61.66 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.005133/10.18, allocations: 4.477 MB / 3.839 GB, free: 57.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002004/10.18, allocations: 1.321 MB / 3.84 GB, free: 55.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/10.18, allocations: 0 / 3.84 GB, free: 55.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004709/10.18, allocations: 374.3 kB / 3.841 GB, free: 55.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/10.19, allocations: 0.5822 MB / 3.841 GB, free: 54.71 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/10.19, allocations: 1.983 MB / 3.843 GB, free: 52.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/10.19, allocations: 1.195 MB / 3.844 GB, free: 51.44 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002423/10.19, allocations: 0.5258 MB / 3.845 GB, free: 50.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/10.19, allocations: 0.4993 MB / 3.845 GB, free: 50.41 MB / 0.948 GB Notification: Performance of SimCode: time 1.743e-06/10.19, allocations: 3.938 kB / 3.845 GB, free: 50.41 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7116/10.91, allocations: 72.81 MB / 3.916 GB, free: 163.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/10.91, allocations: 206.2 kB / 3.917 GB, free: 163.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.834/15.74, allocations: 0 / 3.917 GB, free: 163.7 MB / 0.9636 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)