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.202/2.202, allocations: 390.3 MB / 402.8 MB, free: 6.637 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.001227/0.001227, allocations: 176.4 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.0009269/0.0009269, allocations: 84.03 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.741e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2603, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.717/5.977, allocations: 1.916 GB / 3.135 GB, free: 398.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/5.977, allocations: 95.78 kB / 3.135 GB, free: 398.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.976/7.954, allocations: 0.6114 GB / 3.747 GB, free: 225.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.172e-06/7.954, allocations: 0 / 3.747 GB, free: 225.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001626/7.954, allocations: 24 kB / 3.747 GB, free: 225.4 MB / 1.167 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.003597/7.957, allocations: 1.29 MB / 3.748 GB, free: 224.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/7.957, allocations: 8.031 kB / 3.748 GB, free: 224.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000258/7.958, allocations: 90.52 kB / 3.748 GB, free: 224 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/7.96, allocations: 238.4 kB / 3.748 GB, free: 223.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/7.963, allocations: 0.9998 MB / 3.749 GB, free: 222.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/7.963, allocations: 48.98 kB / 3.749 GB, free: 222.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/7.963, allocations: 60 kB / 3.749 GB, free: 222.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/7.964, allocations: 0.5803 MB / 3.75 GB, free: 222 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/7.964, allocations: 0 / 3.75 GB, free: 222 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/7.964, allocations: 16 kB / 3.75 GB, free: 222 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/7.964, allocations: 17 kB / 3.75 GB, free: 222 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008765/7.965, allocations: 0.5584 MB / 3.751 GB, free: 221.4 MB / 1.167 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.004622/7.97, allocations: 2.732 MB / 3.753 GB, free: 218.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007736/7.971, allocations: 0.523 MB / 3.754 GB, free: 218 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/7.971, allocations: 312.7 kB / 3.754 GB, free: 217.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003733/7.971, allocations: 296 kB / 3.754 GB, free: 217.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/7.971, allocations: 38.56 kB / 3.754 GB, free: 217.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00099/7.972, allocations: 223.4 kB / 3.755 GB, free: 217.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=44): time 4.058e-06/7.972, allocations: 0 / 3.755 GB, free: 217.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=44): time 0.001266/7.974, allocations: 0.6874 MB / 3.755 GB, free: 216.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/7.974, allocations: 55.41 kB / 3.755 GB, free: 216.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/7.975, allocations: 1.091 MB / 3.756 GB, free: 215.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.354e-05/7.975, allocations: 41.7 kB / 3.756 GB, free: 215.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/7.975, allocations: 446.5 kB / 3.757 GB, free: 214.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/7.976, allocations: 153.7 kB / 3.757 GB, free: 214.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/7.976, allocations: 8 kB / 3.757 GB, free: 214.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/7.976, allocations: 325.9 kB / 3.757 GB, free: 214.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/7.976, allocations: 224.7 kB / 3.757 GB, free: 214 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/7.976, allocations: 458.2 kB / 3.758 GB, free: 213.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/7.977, allocations: 274.5 kB / 3.758 GB, free: 213.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/7.977, allocations: 0 / 3.758 GB, free: 213.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009657/7.978, allocations: 0.6683 MB / 3.759 GB, free: 212.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/7.978, allocations: 107 kB / 3.759 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/7.978, allocations: 0 / 3.759 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/7.978, allocations: 4 kB / 3.759 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/7.979, allocations: 127.8 kB / 3.759 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/7.979, allocations: 11.95 kB / 3.759 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/7.98, allocations: 115.9 kB / 3.759 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/7.98, allocations: 35.89 kB / 3.759 GB, free: 212.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/7.98, allocations: 5.406 kB / 3.759 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007815/7.981, allocations: 0.5425 MB / 3.76 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/7.981, allocations: 0 / 3.76 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/7.981, allocations: 4 kB / 3.76 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/7.981, allocations: 127.8 kB / 3.76 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/7.981, allocations: 11.92 kB / 3.76 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/7.982, allocations: 115.8 kB / 3.76 GB, free: 211.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/7.983, allocations: 31.97 kB / 3.76 GB, free: 211.3 MB / 1.167 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.0001607/7.983, allocations: 132.9 kB / 3.76 GB, free: 211.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/7.983, allocations: 106.7 kB / 3.76 GB, free: 211.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/7.984, allocations: 0.7405 MB / 3.761 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/7.984, allocations: 11.98 kB / 3.761 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/7.984, allocations: 0 / 3.761 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/7.984, allocations: 3.984 kB / 3.761 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/7.987, allocations: 1.914 MB / 3.763 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/7.987, allocations: 4.031 kB / 3.763 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/7.987, allocations: 119.8 kB / 3.763 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/7.987, allocations: 4 kB / 3.763 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/7.988, allocations: 12 kB / 3.763 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/7.988, allocations: 4 kB / 3.763 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/7.988, allocations: 7.953 kB / 3.763 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/7.989, allocations: 1.251 MB / 3.764 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/7.989, allocations: 311.6 kB / 3.764 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/7.99, allocations: 15.94 kB / 3.765 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/7.991, allocations: 87.81 kB / 3.765 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/7.991, allocations: 43.88 kB / 3.765 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/7.991, allocations: 24 kB / 3.765 GB, free: 206.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001244/7.992, allocations: 0.867 MB / 3.766 GB, free: 205.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/7.992, allocations: 0 / 3.766 GB, free: 205.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002048/7.994, allocations: 0.5464 MB / 3.766 GB, free: 204.9 MB / 1.167 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.004014/7.998, allocations: 3.899 MB / 3.77 GB, free: 200.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001346/8, allocations: 0.8449 MB / 3.771 GB, free: 200 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/8, allocations: 0 / 3.771 GB, free: 200 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003649/8, allocations: 300 kB / 3.771 GB, free: 199.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/8.002, allocations: 457.4 kB / 3.771 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/8.005, allocations: 1.479 MB / 3.773 GB, free: 197.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/8.006, allocations: 1.071 MB / 3.774 GB, free: 196.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001545/8.007, allocations: 418.7 kB / 3.774 GB, free: 196.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/8.008, allocations: 359.3 kB / 3.775 GB, free: 195.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.853e-06/8.008, allocations: 0 / 3.775 GB, free: 195.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08176/8.089, allocations: 58.58 MB / 3.832 GB, free: 137.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/8.09, allocations: 195.6 kB / 3.832 GB, free: 137.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.304/12.39, allocations: 2.109 kB / 3.832 GB, free: 137.3 MB / 1.167 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