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.459/2.459, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001754/0.001754, allocations: 184.9 kB / 492.3 MB, free: 0.5977 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.832/1.832, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009209/0.0009209, allocations: 101.4 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.442e-05/6.455e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3384, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.159/6.497, allocations: 1.916 GB / 3.128 GB, free: 347.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/6.498, allocations: 91.12 kB / 3.128 GB, free: 347.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.059/8.556, allocations: 0.6114 GB / 3.74 GB, free: 186.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.244e-06/8.556, allocations: 192 / 3.74 GB, free: 186.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001783/8.556, allocations: 35.92 kB / 3.74 GB, free: 186.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.003968/8.56, allocations: 1.283 MB / 3.741 GB, free: 185.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/8.561, allocations: 8.031 kB / 3.741 GB, free: 185.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002904/8.561, allocations: 90.53 kB / 3.741 GB, free: 185.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/8.564, allocations: 234.4 kB / 3.741 GB, free: 185.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/8.566, allocations: 1.004 MB / 3.742 GB, free: 184.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/8.567, allocations: 41 kB / 3.742 GB, free: 184 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/8.567, allocations: 67.94 kB / 3.742 GB, free: 184 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/8.568, allocations: 0.5765 MB / 3.743 GB, free: 183.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/8.568, allocations: 0 / 3.743 GB, free: 183.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/8.568, allocations: 16 kB / 3.743 GB, free: 183.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/8.568, allocations: 24.98 kB / 3.743 GB, free: 183.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009433/8.569, allocations: 0.5506 MB / 3.743 GB, free: 182.8 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.005158/8.574, allocations: 2.736 MB / 3.746 GB, free: 179.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008722/8.575, allocations: 0.5244 MB / 3.747 GB, free: 179.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004255/8.576, allocations: 318.1 kB / 3.747 GB, free: 179.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/8.576, allocations: 292.3 kB / 3.747 GB, free: 178.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/8.576, allocations: 34.56 kB / 3.747 GB, free: 178.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001143/8.577, allocations: 223.4 kB / 3.747 GB, free: 178.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 5.671e-06/8.577, allocations: 7.938 kB / 3.747 GB, free: 178.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.001611/8.579, allocations: 0.6843 MB / 3.748 GB, free: 177.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/8.579, allocations: 59.41 kB / 3.748 GB, free: 177.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/8.581, allocations: 1.087 MB / 3.749 GB, free: 176.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.723e-05/8.581, allocations: 41.7 kB / 3.749 GB, free: 176.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/8.581, allocations: 446.8 kB / 3.75 GB, free: 176.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/8.581, allocations: 149.8 kB / 3.75 GB, free: 176 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/8.581, allocations: 8 kB / 3.75 GB, free: 176 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/8.581, allocations: 329.9 kB / 3.75 GB, free: 175.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/8.582, allocations: 228.7 kB / 3.75 GB, free: 175.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/8.582, allocations: 454.7 kB / 3.751 GB, free: 174.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/8.583, allocations: 282.5 kB / 3.751 GB, free: 174.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/8.583, allocations: 0 / 3.751 GB, free: 174.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001104/8.584, allocations: 0.6644 MB / 3.752 GB, free: 173.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/8.584, allocations: 99.11 kB / 3.752 GB, free: 173.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/8.584, allocations: 4 kB / 3.752 GB, free: 173.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/8.584, allocations: 0 / 3.752 GB, free: 173.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/8.584, allocations: 143.8 kB / 3.752 GB, free: 173.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/8.584, allocations: 7.938 kB / 3.752 GB, free: 173.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/8.586, allocations: 123.7 kB / 3.752 GB, free: 173.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/8.586, allocations: 27.97 kB / 3.752 GB, free: 173.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/8.586, allocations: 4.109 kB / 3.752 GB, free: 173.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008191/8.587, allocations: 0.5386 MB / 3.753 GB, free: 173 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/8.587, allocations: 7.938 kB / 3.753 GB, free: 173 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/8.587, allocations: 0 / 3.753 GB, free: 173 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/8.587, allocations: 135.8 kB / 3.753 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/8.587, allocations: 4 kB / 3.753 GB, free: 172.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/8.589, allocations: 111.9 kB / 3.753 GB, free: 172.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/8.589, allocations: 27.97 kB / 3.753 GB, free: 172.7 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.0001657/8.589, allocations: 142 kB / 3.753 GB, free: 172.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/8.589, allocations: 106.7 kB / 3.753 GB, free: 172.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/8.59, allocations: 0.7405 MB / 3.754 GB, free: 171.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/8.59, allocations: 12 kB / 3.754 GB, free: 171.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/8.59, allocations: 0 / 3.754 GB, free: 171.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/8.59, allocations: 3.984 kB / 3.754 GB, free: 171.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/8.593, allocations: 1.905 MB / 3.756 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/8.593, allocations: 0 / 3.756 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/8.593, allocations: 115.9 kB / 3.756 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/8.593, allocations: 4.281 kB / 3.756 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/8.593, allocations: 19.98 kB / 3.756 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/8.593, allocations: 4 kB / 3.756 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/8.593, allocations: 11.89 kB / 3.756 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/8.595, allocations: 1.255 MB / 3.757 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/8.595, allocations: 303.6 kB / 3.757 GB, free: 167.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/8.595, allocations: 15.98 kB / 3.757 GB, free: 167.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009843/8.596, allocations: 87.91 kB / 3.757 GB, free: 167.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/8.597, allocations: 47.88 kB / 3.757 GB, free: 167.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/8.597, allocations: 20 kB / 3.758 GB, free: 167.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00122/8.598, allocations: 0.8631 MB / 3.758 GB, free: 166.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/8.598, allocations: 0 / 3.758 GB, free: 166.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002164/8.6, allocations: 0.5503 MB / 3.759 GB, free: 166.3 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.004077/8.604, allocations: 3.904 MB / 3.763 GB, free: 162.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001355/8.606, allocations: 0.8566 MB / 3.764 GB, free: 161.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/8.606, allocations: 0 / 3.764 GB, free: 161.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003914/8.606, allocations: 295.7 kB / 3.764 GB, free: 161.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/8.608, allocations: 463.9 kB / 3.764 GB, free: 160.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/8.611, allocations: 1.482 MB / 3.766 GB, free: 159.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/8.612, allocations: 1.071 MB / 3.767 GB, free: 158 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001704/8.614, allocations: 414.7 kB / 3.767 GB, free: 157.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/8.614, allocations: 363.3 kB / 3.767 GB, free: 157.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.203e-06/8.614, allocations: 0 / 3.767 GB, free: 157.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09021/8.704, allocations: 58.56 MB / 3.825 GB, free: 98.96 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/8.704, allocations: 190.4 kB / 3.825 GB, free: 98.74 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.169/12.87, allocations: 5.906 kB / 3.825 GB, free: 98.73 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