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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.502/2.502, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004793, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8276/0.8281, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1949/1.023, allocations: 157.6 MB / 1.108 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008776/1.032, allocations: 4.138 MB / 1.112 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/1.033, allocations: 23.81 kB / 1.112 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/1.035, allocations: 465.7 kB / 1.112 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004984/1.04, allocations: 1.475 MB / 1.113 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003085/1.043, allocations: 0.9129 MB / 1.114 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003295/1.046, allocations: 1.296 MB / 1.116 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/1.048, allocations: 0.8676 MB / 1.116 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/1.05, allocations: 0.845 MB / 1.117 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/1.051, allocations: 0.6344 MB / 1.118 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/1.051, allocations: 59.94 kB / 1.118 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/1.053, allocations: 0.663 MB / 1.119 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003931/1.053, allocations: 311 kB / 1.119 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003325/1.054, allocations: 225.1 kB / 1.119 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/1.056, allocations: 1.411 MB / 1.121 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.056, allocations: 0 / 1.121 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.913e-06/1.056, allocations: 7.938 kB / 1.121 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.919e-05/1.056, allocations: 0 / 1.121 GB, free: 4.797 MB / 0.8731 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.004137/1.06, allocations: 1.488 MB / 1.122 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.06, allocations: 8.031 kB / 1.122 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/1.06, allocations: 86.52 kB / 1.122 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008893/1.061, allocations: 194.5 kB / 1.122 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/1.063, allocations: 0.9914 MB / 1.123 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/1.063, allocations: 52.92 kB / 1.123 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/1.063, allocations: 60 kB / 1.123 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/1.064, allocations: 0.6154 MB / 1.124 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.065, allocations: 7.938 kB / 1.124 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/1.065, allocations: 20 kB / 1.124 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/1.065, allocations: 24.95 kB / 1.124 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/1.066, allocations: 0.6441 MB / 1.125 GB, free: 496 kB / 0.8731 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.004855/1.071, allocations: 2.665 MB / 1.127 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/1.072, allocations: 0.5763 MB / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.273e-05/1.072, allocations: 23.97 kB / 1.128 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/1.072, allocations: 42.56 kB / 1.128 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008243/1.073, allocations: 159.5 kB / 1.128 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=43): time 2.986e-06/1.073, allocations: 0 / 1.128 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of matching and sorting (n=43): time 0.002431/1.075, allocations: 1.052 MB / 1.129 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/1.075, allocations: 55.41 kB / 1.129 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/1.078, allocations: 1.263 MB / 1.13 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/1.078, allocations: 37.7 kB / 1.13 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/1.078, allocations: 437.7 kB / 1.131 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.078, allocations: 153.7 kB / 1.131 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/1.078, allocations: 8 kB / 1.131 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.078, allocations: 318 kB / 1.131 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/1.079, allocations: 272.6 kB / 1.131 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/1.08, allocations: 483.1 kB / 1.132 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/1.08, allocations: 331.7 kB / 1.132 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.08, allocations: 3.953 kB / 1.132 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001585/1.082, allocations: 0.7496 MB / 1.133 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/1.082, allocations: 93.48 kB / 1.133 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.082, allocations: 0 / 1.133 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.082, allocations: 4 kB / 1.133 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/1.083, allocations: 135.8 kB / 1.133 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/1.083, allocations: 0 / 1.133 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/1.084, allocations: 123.1 kB / 1.133 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/1.084, allocations: 27.97 kB / 1.133 GB, free: 7.23 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/1.084, allocations: 4 kB / 1.133 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/1.086, allocations: 0.632 MB / 1.134 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/1.086, allocations: 3.953 kB / 1.134 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.54e-06/1.086, allocations: 4 kB / 1.134 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/1.086, allocations: 127.8 kB / 1.134 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/1.086, allocations: 0 / 1.134 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.088, allocations: 126.1 kB / 1.134 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/1.088, allocations: 23.97 kB / 1.134 GB, free: 6.32 MB / 0.8887 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 (45): * Single equations (assignments): 45 * 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.0005226/1.088, allocations: 329 kB / 1.135 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/1.088, allocations: 106.7 kB / 1.135 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/1.09, allocations: 0.8304 MB / 1.135 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.09, allocations: 4 kB / 1.135 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.09, allocations: 0 / 1.135 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/1.09, allocations: 7.969 kB / 1.135 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/1.093, allocations: 1.968 MB / 1.137 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.093, allocations: 8.062 kB / 1.137 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/1.094, allocations: 115.8 kB / 1.138 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/1.094, allocations: 4 kB / 1.138 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/1.094, allocations: 16 kB / 1.138 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/1.094, allocations: 4 kB / 1.138 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.094, allocations: 4 kB / 1.138 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/1.096, allocations: 1.375 MB / 1.139 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/1.097, allocations: 295.7 kB / 1.139 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/1.097, allocations: 11.95 kB / 1.139 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.098, allocations: 87.81 kB / 1.139 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.098, allocations: 43.88 kB / 1.139 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/1.098, allocations: 16 kB / 1.139 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001507/1.1, allocations: 0.917 MB / 1.14 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.91e-07/1.1, allocations: 0 / 1.14 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001197/1.101, allocations: 403.4 kB / 1.141 GB, free: 15.58 MB / 0.9044 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 (52): * Single equations (assignments): 52 * 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.003122/1.104, allocations: 2.647 MB / 1.143 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002004/1.106, allocations: 0.9597 MB / 1.144 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.106, allocations: 0 / 1.144 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006668/1.107, allocations: 356 kB / 1.144 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.109, allocations: 472.9 kB / 1.145 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/1.122, allocations: 6.674 MB / 1.151 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/1.123, allocations: 1.061 MB / 1.152 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00125/1.124, allocations: 291 kB / 1.153 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/1.125, allocations: 395.2 kB / 1.153 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of SimCode: time 7.62e-07/1.125, allocations: 0 / 1.153 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05859/1.183, allocations: 28.95 MB / 1.181 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/1.184, allocations: 219.6 kB / 1.182 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.715, allocations: 0 / 1.182 GB, free: 5.621 MB / 0.9356 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