Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.706/2.706, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.00158/0.00158, allocations: 191.2 kB / 370.8 MB, free: 10.86 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.151/2.151, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001095/0.001095, allocations: 92.02 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005041, allocations: 15.5 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2302, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.943/7.173, allocations: 2.083 GB / 3.062 GB, free: 189.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/7.173, allocations: 97.19 kB / 3.062 GB, free: 189.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.44/10.61, allocations: 0.6057 GB / 3.668 GB, free: 199.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.245e-06/10.61, allocations: 3.062 kB / 3.668 GB, free: 199.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002272/10.61, allocations: 31.59 kB / 3.668 GB, free: 199.6 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.009692/10.62, allocations: 1.717 MB / 3.669 GB, free: 198.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/10.62, allocations: 8.562 kB / 3.669 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004746/10.62, allocations: 89.92 kB / 3.669 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00501/10.63, allocations: 244.5 kB / 3.67 GB, free: 198.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004079/10.63, allocations: 1.073 MB / 3.671 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.756e-05/10.63, allocations: 42.91 kB / 3.671 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/10.63, allocations: 61.38 kB / 3.671 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/10.64, allocations: 0.7139 MB / 3.671 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/10.64, allocations: 0 / 3.671 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/10.64, allocations: 17.28 kB / 3.671 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/10.64, allocations: 15.52 kB / 3.671 GB, free: 198.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/10.64, allocations: 0.6637 MB / 3.672 GB, free: 198.5 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.008402/10.65, allocations: 2.732 MB / 3.675 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/10.65, allocations: 0.5744 MB / 3.675 GB, free: 197.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/10.65, allocations: 291.6 kB / 3.676 GB, free: 197.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/10.65, allocations: 44.69 kB / 3.676 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002297/10.65, allocations: 225.3 kB / 3.676 GB, free: 197.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 5.701e-06/10.65, allocations: 0 / 3.676 GB, free: 197.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.00466/10.66, allocations: 1.061 MB / 3.677 GB, free: 197.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/10.66, allocations: 138.6 kB / 3.677 GB, free: 197.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/10.66, allocations: 1.136 MB / 3.678 GB, free: 196.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003179/10.66, allocations: 40.05 kB / 3.678 GB, free: 196.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005623/10.66, allocations: 449.8 kB / 3.679 GB, free: 196.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/10.66, allocations: 151.8 kB / 3.679 GB, free: 196.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/10.66, allocations: 7.5 kB / 3.679 GB, free: 196.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.775e-05/10.66, allocations: 320.1 kB / 3.679 GB, free: 196.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/10.66, allocations: 291.2 kB / 3.679 GB, free: 196.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/10.66, allocations: 0.5244 MB / 3.68 GB, free: 196.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/10.66, allocations: 352 kB / 3.68 GB, free: 196.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/10.66, allocations: 0 / 3.68 GB, free: 196.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003107/10.67, allocations: 0.7924 MB / 3.681 GB, free: 196.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.528e-05/10.67, allocations: 104.9 kB / 3.681 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/10.67, allocations: 3.531 kB / 3.681 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/10.67, allocations: 0 / 3.681 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/10.67, allocations: 128.4 kB / 3.681 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/10.67, allocations: 0 / 3.681 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/10.67, allocations: 118.2 kB / 3.681 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/10.67, allocations: 35.55 kB / 3.681 GB, free: 196 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/10.67, allocations: 6.438 kB / 3.681 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002474/10.67, allocations: 0.6693 MB / 3.682 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/10.67, allocations: 3.516 kB / 3.682 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/10.67, allocations: 2.75 kB / 3.682 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/10.68, allocations: 129.2 kB / 3.682 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/10.68, allocations: 3.969 kB / 3.682 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/10.68, allocations: 116.5 kB / 3.682 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/10.68, allocations: 37.42 kB / 3.682 GB, free: 196 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 (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.0008362/10.68, allocations: 335.3 kB / 3.683 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005759/10.68, allocations: 104.1 kB / 3.683 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/10.68, allocations: 0.8444 MB / 3.684 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/10.68, allocations: 3.281 kB / 3.684 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/10.68, allocations: 0 / 3.684 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/10.68, allocations: 7.438 kB / 3.684 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005818/10.69, allocations: 1.988 MB / 3.685 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/10.69, allocations: 0 / 3.685 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/10.69, allocations: 114.9 kB / 3.686 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/10.69, allocations: 7.141 kB / 3.686 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.171e-05/10.69, allocations: 20.98 kB / 3.686 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/10.69, allocations: 14.06 kB / 3.686 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/10.69, allocations: 0 / 3.686 GB, free: 195.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003935/10.69, allocations: 1.393 MB / 3.687 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/10.7, allocations: 297.8 kB / 3.687 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003891/10.7, allocations: 15.34 kB / 3.687 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/10.7, allocations: 94.08 kB / 3.687 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/10.7, allocations: 44.84 kB / 3.687 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.297e-05/10.7, allocations: 24.45 kB / 3.687 GB, free: 194.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002468/10.7, allocations: 0.8948 MB / 3.688 GB, free: 194.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.92e-07/10.7, allocations: 3.938 kB / 3.688 GB, free: 194.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003144/10.7, allocations: 0.5997 MB / 3.689 GB, free: 194.5 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 () * Number of clocked 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.007238/10.71, allocations: 4.092 MB / 3.693 GB, free: 192.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0036/10.72, allocations: 1.048 MB / 3.694 GB, free: 192.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/10.72, allocations: 0 / 3.694 GB, free: 192.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/10.72, allocations: 351.7 kB / 3.694 GB, free: 192.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004591/10.72, allocations: 473.5 kB / 3.695 GB, free: 192.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006428/10.73, allocations: 2.524 MB / 3.697 GB, free: 191.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/10.73, allocations: 1.073 MB / 3.698 GB, free: 190.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002299/10.73, allocations: 291.7 kB / 3.698 GB, free: 190.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/10.73, allocations: 407.2 kB / 3.699 GB, free: 190.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.943e-06/10.73, allocations: 3.844 kB / 3.699 GB, free: 190.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/10.86, allocations: 54.07 MB / 3.752 GB, free: 188.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/10.86, allocations: 213.7 kB / 3.752 GB, free: 188.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.977/15.84, allocations: 0 / 3.752 GB, free: 188.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)