Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 387.4 MB / 394.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 180.8 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 221.5 MB / 0.7824 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 107.8 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.922e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3278, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.541/5.869, allocations: 1.915 GB / 3.121 GB, free: 353.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/5.87, allocations: 91.05 kB / 3.121 GB, free: 353.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.074/7.944, allocations: 0.6044 GB / 3.725 GB, free: 219.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.733e-06/7.944, allocations: 0 / 3.725 GB, free: 219.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001661/7.944, allocations: 30.73 kB / 3.725 GB, free: 219.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003547/7.948, allocations: 1.287 MB / 3.727 GB, free: 218 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/7.948, allocations: 12.03 kB / 3.727 GB, free: 218 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002785/7.951, allocations: 234.4 kB / 3.727 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/7.953, allocations: 0.9929 MB / 3.728 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/7.953, allocations: 16 kB / 3.728 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/7.953, allocations: 43.98 kB / 3.728 GB, free: 216.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009476/7.954, allocations: 0.5336 MB / 3.729 GB, free: 216.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008976/7.955, allocations: 0.5172 MB / 3.729 GB, free: 215.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/7.955, allocations: 0 / 3.729 GB, free: 215.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/7.955, allocations: 0 / 3.729 GB, free: 215.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/7.955, allocations: 21.31 kB / 3.729 GB, free: 215.6 MB / 1.151 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.004669/7.96, allocations: 2.601 MB / 3.732 GB, free: 212.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/7.961, allocations: 0.5179 MB / 3.732 GB, free: 212.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/7.961, allocations: 300.7 kB / 3.732 GB, free: 212.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003917/7.962, allocations: 294.4 kB / 3.733 GB, free: 211.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/7.962, allocations: 35.64 kB / 3.733 GB, free: 211.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001104/7.963, allocations: 211.2 kB / 3.733 GB, free: 211.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 4.047e-06/7.963, allocations: 3.938 kB / 3.733 GB, free: 211.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.001615/7.964, allocations: 0.6727 MB / 3.734 GB, free: 210.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/7.965, allocations: 55.41 kB / 3.734 GB, free: 210.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/7.966, allocations: 0.953 MB / 3.735 GB, free: 209.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.136e-05/7.966, allocations: 33.7 kB / 3.735 GB, free: 209.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/7.966, allocations: 437.5 kB / 3.735 GB, free: 209.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/7.966, allocations: 141.8 kB / 3.735 GB, free: 209.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/7.966, allocations: 3.938 kB / 3.735 GB, free: 209.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.035e-05/7.967, allocations: 326 kB / 3.735 GB, free: 208.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/7.967, allocations: 220.7 kB / 3.736 GB, free: 208.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/7.967, allocations: 450.4 kB / 3.736 GB, free: 208.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/7.968, allocations: 279.8 kB / 3.736 GB, free: 207.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/7.968, allocations: 0 / 3.736 GB, free: 207.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001041/7.969, allocations: 0.6522 MB / 3.737 GB, free: 207.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/7.969, allocations: 94.62 kB / 3.737 GB, free: 207.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/7.969, allocations: 8 kB / 3.737 GB, free: 207.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/7.969, allocations: 0 / 3.737 GB, free: 207.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/7.97, allocations: 135.8 kB / 3.737 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/7.97, allocations: 4 kB / 3.737 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/7.971, allocations: 107.7 kB / 3.737 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.782e-05/7.971, allocations: 35.91 kB / 3.737 GB, free: 206.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/7.971, allocations: 4 kB / 3.737 GB, free: 206.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007307/7.972, allocations: 0.515 MB / 3.738 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/7.972, allocations: 0 / 3.738 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.099e-06/7.972, allocations: 0 / 3.738 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/7.972, allocations: 135.8 kB / 3.738 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/7.972, allocations: 0 / 3.738 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/7.974, allocations: 103.9 kB / 3.738 GB, free: 206 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.284e-05/7.974, allocations: 27.97 kB / 3.738 GB, free: 206 MB / 1.151 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001629/7.974, allocations: 112.9 kB / 3.738 GB, free: 205.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009601/7.975, allocations: 0.6215 MB / 3.739 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/7.975, allocations: 98.83 kB / 3.739 GB, free: 205.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/7.976, allocations: 0.7125 MB / 3.74 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/7.976, allocations: 8 kB / 3.74 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/7.976, allocations: 3.938 kB / 3.74 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/7.977, allocations: 3.984 kB / 3.74 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/7.979, allocations: 1.799 MB / 3.741 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/7.979, allocations: 0 / 3.741 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/7.98, allocations: 119.8 kB / 3.742 GB, free: 202.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/7.98, allocations: 4 kB / 3.742 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/7.98, allocations: 11.98 kB / 3.742 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/7.98, allocations: 4 kB / 3.742 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/7.98, allocations: 4 kB / 3.742 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/7.981, allocations: 1.199 MB / 3.743 GB, free: 201.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/7.982, allocations: 303.6 kB / 3.743 GB, free: 200.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/7.982, allocations: 4 kB / 3.743 GB, free: 200.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/7.983, allocations: 75.88 kB / 3.743 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/7.983, allocations: 47.83 kB / 3.743 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/7.983, allocations: 27.98 kB / 3.743 GB, free: 200.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009516/7.984, allocations: 0.7429 MB / 3.744 GB, free: 199.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/7.984, allocations: 0 / 3.744 GB, free: 199.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001739/7.986, allocations: 0.4992 MB / 3.744 GB, free: 199.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.003882/7.99, allocations: 4.058 MB / 3.748 GB, free: 195.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001232/7.991, allocations: 0.8301 MB / 3.749 GB, free: 194.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/7.991, allocations: 0 / 3.749 GB, free: 194.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/7.991, allocations: 291.6 kB / 3.749 GB, free: 194.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/7.994, allocations: 393.9 kB / 3.75 GB, free: 193.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/7.997, allocations: 1.419 MB / 3.751 GB, free: 192.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/7.998, allocations: 1.063 MB / 3.752 GB, free: 191.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001941/7.999, allocations: 377.9 kB / 3.753 GB, free: 190.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/8, allocations: 363.3 kB / 3.753 GB, free: 190.6 MB / 1.151 GB Notification: Performance of SimCode: time 7.71e-07/8, allocations: 4 kB / 3.753 GB, free: 190.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07132/8.071, allocations: 38.56 MB / 3.791 GB, free: 152.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/8.072, allocations: 175.8 kB / 3.791 GB, free: 152 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.629/11.7, allocations: 6.031 kB / 3.791 GB, free: 152 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat does not exist to compare? outputFormat=mat