Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.402/2.402, allocations: 390.5 MB / 398 MB, free: 10.91 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.001261/0.001262, allocations: 180.8 kB / 491.2 MB, free: 1.531 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.705/1.705, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 86.78 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.329e-05, allocations: 9.469 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2796, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.582/5.862, allocations: 1.916 GB / 3.128 GB, free: 346.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/5.862, allocations: 88.91 kB / 3.128 GB, free: 346.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.963/7.825, allocations: 0.6044 GB / 3.733 GB, free: 191.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.623e-06/7.825, allocations: 4 kB / 3.733 GB, free: 191.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001029/7.825, allocations: 27.98 kB / 3.733 GB, free: 191.8 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.0033/7.828, allocations: 1.278 MB / 3.734 GB, free: 190.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/7.828, allocations: 12.03 kB / 3.734 GB, free: 190.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/7.831, allocations: 234.4 kB / 3.734 GB, free: 190.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/7.833, allocations: 1.004 MB / 3.735 GB, free: 189.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/7.833, allocations: 12 kB / 3.735 GB, free: 189.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/7.833, allocations: 49.89 kB / 3.735 GB, free: 189.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008208/7.834, allocations: 0.5297 MB / 3.736 GB, free: 188.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008057/7.834, allocations: 0.5193 MB / 3.736 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/7.834, allocations: 0 / 3.736 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/7.834, allocations: 0 / 3.736 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/7.835, allocations: 17.31 kB / 3.736 GB, free: 188.1 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.003697/7.838, allocations: 2.588 MB / 3.739 GB, free: 185.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/7.839, allocations: 0.5258 MB / 3.739 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/7.839, allocations: 312.6 kB / 3.74 GB, free: 184.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/7.84, allocations: 283.3 kB / 3.74 GB, free: 184.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/7.84, allocations: 38.56 kB / 3.74 GB, free: 184.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009759/7.841, allocations: 203.7 kB / 3.74 GB, free: 183.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 3.997e-06/7.841, allocations: 0 / 3.74 GB, free: 183.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.001467/7.842, allocations: 0.6804 MB / 3.741 GB, free: 183.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/7.842, allocations: 59.41 kB / 3.741 GB, free: 183.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/7.843, allocations: 0.9569 MB / 3.742 GB, free: 182.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.78e-05/7.844, allocations: 25.7 kB / 3.742 GB, free: 182.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/7.844, allocations: 441.7 kB / 3.742 GB, free: 181.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/7.844, allocations: 149.7 kB / 3.742 GB, free: 181.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/7.844, allocations: 0 / 3.742 GB, free: 181.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.015e-05/7.844, allocations: 329.9 kB / 3.743 GB, free: 181.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/7.844, allocations: 224.6 kB / 3.743 GB, free: 181 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/7.845, allocations: 445.8 kB / 3.743 GB, free: 180.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/7.845, allocations: 275.4 kB / 3.743 GB, free: 180.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/7.845, allocations: 0 / 3.743 GB, free: 180.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000955/7.846, allocations: 0.6483 MB / 3.744 GB, free: 179.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/7.846, allocations: 94.62 kB / 3.744 GB, free: 179.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/7.846, allocations: 112 / 3.744 GB, free: 179.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/7.846, allocations: 7.938 kB / 3.744 GB, free: 179.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/7.847, allocations: 139.8 kB / 3.744 GB, free: 179.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/7.847, allocations: 4 kB / 3.744 GB, free: 179.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/7.848, allocations: 107.8 kB / 3.744 GB, free: 179.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/7.848, allocations: 31.95 kB / 3.744 GB, free: 179.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/7.848, allocations: 4 kB / 3.744 GB, free: 179.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000745/7.849, allocations: 0.4995 MB / 3.745 GB, free: 178.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/7.849, allocations: 3.984 kB / 3.745 GB, free: 178.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/7.849, allocations: 4 kB / 3.745 GB, free: 178.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/7.85, allocations: 131.8 kB / 3.745 GB, free: 178.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/7.85, allocations: 4 kB / 3.745 GB, free: 178.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/7.851, allocations: 103.8 kB / 3.745 GB, free: 178.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/7.851, allocations: 35.95 kB / 3.745 GB, free: 178.4 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.0001493/7.851, allocations: 114.1 kB / 3.745 GB, free: 178.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000908/7.852, allocations: 0.6331 MB / 3.746 GB, free: 177.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/7.852, allocations: 90.88 kB / 3.746 GB, free: 177.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/7.853, allocations: 0.7048 MB / 3.747 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/7.854, allocations: 4 kB / 3.747 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/7.854, allocations: 4 kB / 3.747 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/7.854, allocations: 3.984 kB / 3.747 GB, free: 176.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/7.856, allocations: 1.798 MB / 3.749 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/7.856, allocations: 4 kB / 3.749 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/7.857, allocations: 120.1 kB / 3.749 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/7.857, allocations: 4 kB / 3.749 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/7.857, allocations: 11.94 kB / 3.749 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/7.857, allocations: 7.938 kB / 3.749 GB, free: 174.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/7.857, allocations: 3.953 kB / 3.749 GB, free: 174.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/7.858, allocations: 1.204 MB / 3.75 GB, free: 173.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/7.859, allocations: 295.7 kB / 3.75 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/7.859, allocations: 4 kB / 3.75 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009932/7.86, allocations: 83.95 kB / 3.75 GB, free: 173.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/7.86, allocations: 35.95 kB / 3.75 GB, free: 173.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/7.86, allocations: 31.94 kB / 3.75 GB, free: 173.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008818/7.861, allocations: 0.739 MB / 3.751 GB, free: 172.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.71e-07/7.861, allocations: 0 / 3.751 GB, free: 172.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001649/7.863, allocations: 0.5108 MB / 3.751 GB, free: 171.8 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.00445/7.867, allocations: 4.049 MB / 3.755 GB, free: 167.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001383/7.868, allocations: 0.8301 MB / 3.756 GB, free: 166.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/7.868, allocations: 0 / 3.756 GB, free: 166.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/7.869, allocations: 280.1 kB / 3.757 GB, free: 166.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/7.871, allocations: 388.2 kB / 3.757 GB, free: 166.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/7.875, allocations: 1.43 MB / 3.758 GB, free: 164.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/7.875, allocations: 1.063 MB / 3.759 GB, free: 163.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001879/7.877, allocations: 393.8 kB / 3.76 GB, free: 163.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/7.878, allocations: 363.3 kB / 3.76 GB, free: 162.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.272e-06/7.878, allocations: 0 / 3.76 GB, free: 162.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07555/7.953, allocations: 38.55 MB / 3.798 GB, free: 124.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/7.954, allocations: 174 kB / 3.798 GB, free: 124.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.45/11.4, allocations: 0 / 3.798 GB, free: 124.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat does not exist to compare? outputFormat=mat