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.489/2.489, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001156/0.001156, allocations: 191.5 kB / 0.4901 GB, free: 2.234 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.725/1.725, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.0009961/0.0009959, allocations: 96.28 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005689/0.0005694, allocations: 12.94 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3188, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.973/5.292, allocations: 1.916 GB / 3.146 GB, free: 16.07 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004028/5.292, allocations: 102 kB / 3.146 GB, free: 16.02 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.728/8.02, allocations: 0.6119 GB / 3.758 GB, free: 306.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.415e-06/8.02, allocations: 2.953 kB / 3.758 GB, free: 306.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001925/8.02, allocations: 29.88 kB / 3.758 GB, free: 306.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.006571/8.027, allocations: 1.663 MB / 3.759 GB, free: 305.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.691e-05/8.027, allocations: 18.84 kB / 3.759 GB, free: 305.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004096/8.027, allocations: 84.81 kB / 3.759 GB, free: 305.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/8.03, allocations: 248.6 kB / 3.76 GB, free: 305.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/8.034, allocations: 1.021 MB / 3.761 GB, free: 304.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/8.034, allocations: 43.22 kB / 3.761 GB, free: 304.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/8.034, allocations: 67.14 kB / 3.761 GB, free: 304.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/8.035, allocations: 0.6297 MB / 3.761 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/8.035, allocations: 0 / 3.761 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/8.036, allocations: 27.34 kB / 3.761 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/8.036, allocations: 15.62 kB / 3.761 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/8.037, allocations: 0.6508 MB / 3.762 GB, free: 304.6 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005769/8.043, allocations: 2.732 MB / 3.765 GB, free: 303 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/8.044, allocations: 0.5943 MB / 3.765 GB, free: 302.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004008/8.044, allocations: 293.8 kB / 3.766 GB, free: 302.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/8.044, allocations: 41.94 kB / 3.766 GB, free: 302.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001257/8.046, allocations: 217.4 kB / 3.766 GB, free: 302.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=44): time 6.222e-06/8.046, allocations: 2.734 kB / 3.766 GB, free: 302.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=44): time 0.002569/8.048, allocations: 1.064 MB / 3.767 GB, free: 301.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/8.048, allocations: 55.22 kB / 3.767 GB, free: 301.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/8.05, allocations: 1.122 MB / 3.768 GB, free: 301 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/8.05, allocations: 40.95 kB / 3.768 GB, free: 301 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/8.051, allocations: 448 kB / 3.768 GB, free: 300.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/8.051, allocations: 146.6 kB / 3.769 GB, free: 300.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/8.051, allocations: 11.94 kB / 3.769 GB, free: 300.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.473e-05/8.051, allocations: 317.9 kB / 3.769 GB, free: 300.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/8.052, allocations: 277.7 kB / 3.769 GB, free: 300 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/8.052, allocations: 0.497 MB / 3.77 GB, free: 299.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/8.053, allocations: 334.1 kB / 3.77 GB, free: 299.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/8.053, allocations: 0 / 3.77 GB, free: 299.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001596/8.055, allocations: 0.7728 MB / 3.771 GB, free: 299.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/8.055, allocations: 98.86 kB / 3.771 GB, free: 299 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/8.055, allocations: 3.562 kB / 3.771 GB, free: 299 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/8.055, allocations: 0 / 3.771 GB, free: 299 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/8.055, allocations: 134.8 kB / 3.771 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/8.055, allocations: 0 / 3.771 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/8.057, allocations: 119.4 kB / 3.771 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.625e-05/8.057, allocations: 30.72 kB / 3.771 GB, free: 298.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/8.057, allocations: 4.594 kB / 3.771 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/8.058, allocations: 0.6354 MB / 3.772 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/8.058, allocations: 7.594 kB / 3.772 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/8.058, allocations: 0 / 3.772 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/8.059, allocations: 139.6 kB / 3.772 GB, free: 298.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/8.059, allocations: 3.938 kB / 3.772 GB, free: 298.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/8.061, allocations: 119.8 kB / 3.772 GB, free: 298.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/8.061, allocations: 32.5 kB / 3.772 GB, free: 298.5 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 () * Number of clocked 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.0005772/8.061, allocations: 329.2 kB / 3.772 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/8.062, allocations: 98.34 kB / 3.772 GB, free: 298.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/8.064, allocations: 0.8493 MB / 3.773 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/8.064, allocations: 10.64 kB / 3.773 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/8.064, allocations: 0 / 3.773 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/8.064, allocations: 7.828 kB / 3.773 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/8.067, allocations: 2.016 MB / 3.775 GB, free: 296.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/8.067, allocations: 4 kB / 3.775 GB, free: 296.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/8.068, allocations: 119 kB / 3.775 GB, free: 296.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/8.068, allocations: 8 kB / 3.775 GB, free: 296.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/8.068, allocations: 12 kB / 3.775 GB, free: 296.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/8.068, allocations: 11.98 kB / 3.775 GB, free: 296.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/8.068, allocations: 0 / 3.775 GB, free: 296.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/8.07, allocations: 1.398 MB / 3.777 GB, free: 294.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008742/8.071, allocations: 307.6 kB / 3.777 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/8.072, allocations: 16 kB / 3.777 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/8.073, allocations: 89.66 kB / 3.777 GB, free: 294.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/8.073, allocations: 47.5 kB / 3.777 GB, free: 294.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/8.073, allocations: 23.98 kB / 3.777 GB, free: 294.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002141/8.076, allocations: 0.8896 MB / 3.778 GB, free: 293.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/8.076, allocations: 0 / 3.778 GB, free: 293.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002868/8.078, allocations: 0.5527 MB / 3.779 GB, free: 292.7 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 () * Number of clocked 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.005637/8.084, allocations: 4.053 MB / 3.783 GB, free: 288.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002138/8.086, allocations: 0.9614 MB / 3.784 GB, free: 288 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/8.086, allocations: 4 kB / 3.784 GB, free: 288 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006295/8.087, allocations: 343.2 kB / 3.784 GB, free: 287.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/8.089, allocations: 460.4 kB / 3.784 GB, free: 287.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/8.1, allocations: 6.619 MB / 3.791 GB, free: 280.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/8.1, allocations: 1.059 MB / 3.792 GB, free: 279.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001287/8.101, allocations: 294.4 kB / 3.792 GB, free: 279.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005621/8.102, allocations: 395.3 kB / 3.792 GB, free: 278.7 MB / 1.167 GB Notification: Performance of SimCode: time 9.457e-06/8.102, allocations: 0 / 3.792 GB, free: 278.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07302/8.175, allocations: 53.12 MB / 3.844 GB, free: 226.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/8.175, allocations: 234.5 kB / 3.845 GB, free: 226.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.786/11.96, allocations: 0 / 3.845 GB, free: 226.1 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