Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001182/0.001182, allocations: 176.8 kB / 366.7 MB, free: 1.629 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.882/1.882, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008751/0.0008751, allocations: 93.17 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.34e-05/2.343e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9374/0.9375, allocations: 116.3 MB / 0.9733 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.318/7.256, allocations: 2.084 GB / 3.057 GB, free: 280.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/7.256, allocations: 96.95 kB / 3.057 GB, free: 280.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.85/9.106, allocations: 0.5982 GB / 3.655 GB, free: 121.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.774e-06/9.106, allocations: 0 / 3.655 GB, free: 121.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001036/9.106, allocations: 27.94 kB / 3.655 GB, free: 121.7 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.002742/9.109, allocations: 1.332 MB / 3.657 GB, free: 120.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/9.109, allocations: 8.031 kB / 3.657 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/9.111, allocations: 242.3 kB / 3.657 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/9.113, allocations: 1.04 MB / 3.658 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/9.113, allocations: 20 kB / 3.658 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.204e-05/9.113, allocations: 36 kB / 3.658 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007842/9.114, allocations: 0.5397 MB / 3.659 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/9.114, allocations: 0.5967 MB / 3.659 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/9.114, allocations: 0 / 3.659 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/9.114, allocations: 0 / 3.659 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/9.115, allocations: 19.94 kB / 3.659 GB, free: 117.8 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.003627/9.118, allocations: 2.604 MB / 3.662 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/9.119, allocations: 0.5163 MB / 3.662 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/9.119, allocations: 300.8 kB / 3.663 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003624/9.12, allocations: 295.4 kB / 3.663 GB, free: 113.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/9.12, allocations: 38.56 kB / 3.663 GB, free: 113.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00095/9.121, allocations: 207.7 kB / 3.663 GB, free: 113.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 2.955e-06/9.121, allocations: 0 / 3.663 GB, free: 113.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.001325/9.122, allocations: 0.6687 MB / 3.664 GB, free: 112.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/9.122, allocations: 136.5 kB / 3.664 GB, free: 112.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/9.123, allocations: 0.9619 MB / 3.665 GB, free: 111.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/9.123, allocations: 29.7 kB / 3.665 GB, free: 111.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/9.123, allocations: 457.8 kB / 3.665 GB, free: 111.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/9.124, allocations: 141.8 kB / 3.665 GB, free: 111.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/9.124, allocations: 0 / 3.665 GB, free: 111.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.607e-05/9.124, allocations: 329.9 kB / 3.666 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/9.124, allocations: 232.8 kB / 3.666 GB, free: 110.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/9.124, allocations: 482.7 kB / 3.666 GB, free: 110 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/9.125, allocations: 294.1 kB / 3.667 GB, free: 109.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/9.125, allocations: 0 / 3.667 GB, free: 109.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009751/9.126, allocations: 0.6707 MB / 3.667 GB, free: 109.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/9.126, allocations: 90.91 kB / 3.667 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/9.126, allocations: 4 kB / 3.667 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/9.126, allocations: 3.984 kB / 3.667 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/9.127, allocations: 127.8 kB / 3.667 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/9.127, allocations: 3.938 kB / 3.667 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/9.128, allocations: 111.7 kB / 3.668 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.465e-05/9.128, allocations: 35.97 kB / 3.668 GB, free: 108.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/9.128, allocations: 4 kB / 3.668 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008147/9.129, allocations: 0.5412 MB / 3.668 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/9.129, allocations: 3.984 kB / 3.668 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/9.129, allocations: 0 / 3.668 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/9.129, allocations: 123.8 kB / 3.668 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/9.129, allocations: 0 / 3.668 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/9.131, allocations: 111.7 kB / 3.668 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/9.131, allocations: 31.97 kB / 3.668 GB, free: 107.9 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 (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.0001753/9.131, allocations: 113.2 kB / 3.669 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008993/9.132, allocations: 0.6254 MB / 3.669 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/9.132, allocations: 98.72 kB / 3.669 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/9.133, allocations: 0.701 MB / 3.67 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/9.133, allocations: 8 kB / 3.67 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/9.133, allocations: 4 kB / 3.67 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/9.134, allocations: 7.984 kB / 3.67 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/9.136, allocations: 1.783 MB / 3.672 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/9.136, allocations: 0 / 3.672 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/9.137, allocations: 111.9 kB / 3.672 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/9.137, allocations: 4 kB / 3.672 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/9.137, allocations: 12 kB / 3.672 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/9.137, allocations: 8.234 kB / 3.672 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/9.137, allocations: 11.89 kB / 3.672 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/9.138, allocations: 1.189 MB / 3.673 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/9.139, allocations: 295.8 kB / 3.673 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/9.139, allocations: 7.938 kB / 3.673 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009872/9.14, allocations: 75.81 kB / 3.673 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/9.14, allocations: 47.94 kB / 3.673 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/9.14, allocations: 20 kB / 3.673 GB, free: 102.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000898/9.141, allocations: 0.7473 MB / 3.674 GB, free: 101.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/9.141, allocations: 0 / 3.674 GB, free: 101.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001702/9.143, allocations: 0.5537 MB / 3.675 GB, free: 101.3 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 () * 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.004031/9.147, allocations: 4.103 MB / 3.679 GB, free: 97 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001364/9.148, allocations: 0.9179 MB / 3.68 GB, free: 96.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/9.148, allocations: 0 / 3.68 GB, free: 96.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003733/9.149, allocations: 275.7 kB / 3.68 GB, free: 95.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/9.151, allocations: 404.4 kB / 3.68 GB, free: 95.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/9.154, allocations: 1.459 MB / 3.682 GB, free: 93.88 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/9.154, allocations: 1.075 MB / 3.683 GB, free: 92.78 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001583/9.156, allocations: 394 kB / 3.683 GB, free: 92.39 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/9.156, allocations: 375.3 kB / 3.683 GB, free: 92.02 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/9.156, allocations: 0 / 3.683 GB, free: 92.02 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06646/9.223, allocations: 40.16 MB / 3.723 GB, free: 52.05 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/9.223, allocations: 169.6 kB / 3.723 GB, free: 51.85 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.62/12.84, allocations: 0 / 3.723 GB, free: 51.85 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)