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.302/2.302, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001008/0.001008, allocations: 173.1 kB / 498.1 MB, free: 5.758 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.488/1.488, allocations: 223.2 MB / 0.7948 GB, free: 18.95 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.001052/0.001052, allocations: 95.69 kB / 0.9346 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 10.7 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2965, allocations: 142.4 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.823/5.119, allocations: 1.916 GB / 3.139 GB, free: 34.82 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/5.12, allocations: 98.31 kB / 3.139 GB, free: 34.77 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.836/7.956, allocations: 0.6119 GB / 3.751 GB, free: 308 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.917e-06/7.956, allocations: 0 / 3.751 GB, free: 308 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000206/7.956, allocations: 34 kB / 3.751 GB, free: 308 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.006831/7.963, allocations: 1.662 MB / 3.752 GB, free: 307.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/7.963, allocations: 11.31 kB / 3.752 GB, free: 307.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003686/7.963, allocations: 91 kB / 3.752 GB, free: 307.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/7.966, allocations: 245.3 kB / 3.753 GB, free: 307.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003417/7.97, allocations: 1.02 MB / 3.754 GB, free: 306.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/7.97, allocations: 41.78 kB / 3.754 GB, free: 306.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002843/7.97, allocations: 62.47 kB / 3.754 GB, free: 306.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/7.972, allocations: 0.6281 MB / 3.754 GB, free: 306.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/7.972, allocations: 2.438 kB / 3.754 GB, free: 306.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/7.972, allocations: 17.69 kB / 3.754 GB, free: 306.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/7.972, allocations: 21.94 kB / 3.754 GB, free: 306.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/7.973, allocations: 0.665 MB / 3.755 GB, free: 306.9 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.006135/7.979, allocations: 2.728 MB / 3.758 GB, free: 306.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/7.981, allocations: 0.5845 MB / 3.758 GB, free: 306 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004194/7.981, allocations: 293.9 kB / 3.758 GB, free: 305.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/7.981, allocations: 45.41 kB / 3.758 GB, free: 305.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001465/7.983, allocations: 221.5 kB / 3.759 GB, free: 305.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=44): time 7.714e-06/7.983, allocations: 0 / 3.759 GB, free: 305.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=44): time 0.002761/7.985, allocations: 1.064 MB / 3.76 GB, free: 305.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/7.986, allocations: 61.81 kB / 3.76 GB, free: 305.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/7.989, allocations: 1.123 MB / 3.761 GB, free: 305.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000291/7.989, allocations: 37.39 kB / 3.761 GB, free: 305.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006717/7.99, allocations: 440.6 kB / 3.761 GB, free: 305.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/7.99, allocations: 150.1 kB / 3.761 GB, free: 305.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/7.99, allocations: 13.19 kB / 3.762 GB, free: 305.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001541/7.99, allocations: 322.1 kB / 3.762 GB, free: 304.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007526/7.991, allocations: 277.7 kB / 3.762 GB, free: 304.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/7.992, allocations: 498.4 kB / 3.763 GB, free: 304.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008419/7.993, allocations: 335.2 kB / 3.763 GB, free: 304.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/7.993, allocations: 3.125 kB / 3.763 GB, free: 304.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002402/7.995, allocations: 0.7621 MB / 3.764 GB, free: 304.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/7.996, allocations: 102.1 kB / 3.764 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/7.996, allocations: 0 / 3.764 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.734e-05/7.996, allocations: 4.375 kB / 3.764 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/7.997, allocations: 136.9 kB / 3.764 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/7.997, allocations: 3.781 kB / 3.764 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/7.999, allocations: 113.5 kB / 3.764 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/7.999, allocations: 35.06 kB / 3.764 GB, free: 304.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/7.999, allocations: 4.469 kB / 3.764 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00142/8, allocations: 0.6365 MB / 3.765 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/8.001, allocations: 0 / 3.765 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/8.001, allocations: 3.969 kB / 3.765 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/8.001, allocations: 135.1 kB / 3.765 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/8.001, allocations: 7.859 kB / 3.765 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/8.003, allocations: 120.8 kB / 3.765 GB, free: 304.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/8.003, allocations: 30.55 kB / 3.765 GB, free: 304.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.0006595/8.004, allocations: 326.3 kB / 3.765 GB, free: 304.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005056/8.004, allocations: 105.5 kB / 3.765 GB, free: 304.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/8.006, allocations: 0.8497 MB / 3.766 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/8.006, allocations: 3.906 kB / 3.766 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/8.006, allocations: 7.859 kB / 3.766 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/8.006, allocations: 3.938 kB / 3.766 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/8.011, allocations: 2.014 MB / 3.768 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/8.011, allocations: 3.594 kB / 3.768 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/8.011, allocations: 116.6 kB / 3.768 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/8.011, allocations: 3.938 kB / 3.768 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/8.011, allocations: 18.42 kB / 3.768 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-06/8.011, allocations: 3.844 kB / 3.768 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/8.011, allocations: 7 kB / 3.768 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/8.014, allocations: 1.399 MB / 3.77 GB, free: 303.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008427/8.014, allocations: 311.9 kB / 3.77 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/8.015, allocations: 11.69 kB / 3.77 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/8.016, allocations: 89.77 kB / 3.77 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/8.016, allocations: 51.34 kB / 3.77 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/8.016, allocations: 19.5 kB / 3.77 GB, free: 303.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001734/8.018, allocations: 0.8905 MB / 3.771 GB, free: 303.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.91e-07/8.018, allocations: 0 / 3.771 GB, free: 303.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002467/8.021, allocations: 0.5575 MB / 3.772 GB, free: 303 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.005244/8.026, allocations: 4.059 MB / 3.775 GB, free: 301.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002078/8.028, allocations: 0.9532 MB / 3.776 GB, free: 301.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.944e-06/8.028, allocations: 2.656 kB / 3.776 GB, free: 301.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006148/8.029, allocations: 341.2 kB / 3.777 GB, free: 301.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/8.031, allocations: 454.3 kB / 3.777 GB, free: 301.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/8.046, allocations: 6.634 MB / 3.784 GB, free: 299.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/8.047, allocations: 1.068 MB / 3.785 GB, free: 298.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001679/8.048, allocations: 283.2 kB / 3.785 GB, free: 298.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008726/8.049, allocations: 392.1 kB / 3.785 GB, free: 298.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.022e-06/8.049, allocations: 0 / 3.785 GB, free: 298.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09348/8.143, allocations: 53.13 MB / 3.837 GB, free: 252.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/8.143, allocations: 217.1 kB / 3.837 GB, free: 252.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.647/11.79, allocations: 0 / 3.837 GB, free: 252.2 MB / 1.167 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