Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.MixingBoxMinimumFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",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.00109/0.00109, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001625/0.001625, allocations: 172.7 kB / 15.95 MB, free: 208 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.408/1.408, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.559/2.559, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.000325, allocations: 8 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7607/0.761, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2014/0.9624, allocations: 180.5 MB / 1.157 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008373/0.9709, allocations: 4.918 MB / 1.162 GB, free: 12.28 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.9723, allocations: 27.81 kB / 1.162 GB, free: 12.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.9736, allocations: 393.2 kB / 1.163 GB, free: 11.87 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003634/0.9772, allocations: 1.353 MB / 1.164 GB, free: 10.51 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003829/0.9811, allocations: 1.235 MB / 1.165 GB, free: 9.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004453/0.9855, allocations: 3.024 MB / 1.168 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.9876, allocations: 1.122 MB / 1.169 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.9898, allocations: 1.043 MB / 1.17 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.9913, allocations: 1.031 MB / 1.171 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.9915, allocations: 76 kB / 1.171 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.9939, allocations: 0.8653 MB / 1.172 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004786/0.9944, allocations: 430.4 kB / 1.173 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003619/0.9948, allocations: 281 kB / 1.173 GB, free: 1.387 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002085/0.9969, allocations: 1.874 MB / 1.175 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.9969, allocations: 3.938 kB / 1.175 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9969, allocations: 0 / 1.175 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.997, allocations: 4 kB / 1.175 GB, free: 15.5 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004789/1.002, allocations: 1.843 MB / 1.176 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.002, allocations: 12.03 kB / 1.176 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/1.002, allocations: 102.5 kB / 1.177 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009431/1.003, allocations: 234 kB / 1.177 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/1.005, allocations: 1.252 MB / 1.178 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/1.005, allocations: 69.62 kB / 1.178 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/1.006, allocations: 72 kB / 1.178 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/1.007, allocations: 0.8145 MB / 1.179 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/1.007, allocations: 0 / 1.179 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/1.007, allocations: 23.94 kB / 1.179 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.633e-05/1.007, allocations: 33.31 kB / 1.179 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/1.009, allocations: 0.8562 MB / 1.18 GB, free: 10.07 MB / 0.9356 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.005102/1.014, allocations: 3.474 MB / 1.183 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/1.015, allocations: 0.7432 MB / 1.184 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007554/1.016, allocations: 453.8 kB / 1.184 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003851/1.016, allocations: 299.7 kB / 1.185 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/1.016, allocations: 39 kB / 1.185 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009098/1.017, allocations: 235.4 kB / 1.185 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=53): time 2.635e-06/1.017, allocations: 0 / 1.185 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53): time 0.002711/1.02, allocations: 1.337 MB / 1.186 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/1.02, allocations: 59.84 kB / 1.186 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/1.023, allocations: 1.625 MB / 1.188 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.819e-05/1.023, allocations: 41.7 kB / 1.188 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004752/1.023, allocations: 0.5383 MB / 1.188 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/1.023, allocations: 181.3 kB / 1.189 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/1.024, allocations: 12 kB / 1.189 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.024, allocations: 322 kB / 1.189 GB, free: 448 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006761/1.024, allocations: 356.9 kB / 1.189 GB, free: 92 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009576/1.025, allocations: 0.624 MB / 1.19 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007619/1.026, allocations: 418 kB / 1.19 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.026, allocations: 0 / 1.19 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001859/1.028, allocations: 0.9815 MB / 1.191 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.708e-05/1.028, allocations: 94.92 kB / 1.191 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/1.028, allocations: 3.953 kB / 1.191 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/1.028, allocations: 4 kB / 1.191 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008501/1.029, allocations: 167.8 kB / 1.192 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.029, allocations: 4 kB / 1.192 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.03, allocations: 159.3 kB / 1.192 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.057e-05/1.031, allocations: 31.97 kB / 1.192 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/1.031, allocations: 5.562 kB / 1.192 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001823/1.032, allocations: 0.8212 MB / 1.193 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/1.032, allocations: 0 / 1.193 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.67e-06/1.032, allocations: 4 kB / 1.193 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007624/1.033, allocations: 167.8 kB / 1.193 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/1.033, allocations: 0 / 1.193 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/1.035, allocations: 167.9 kB / 1.193 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/1.035, allocations: 35.89 kB / 1.193 GB, free: 12.32 MB / 0.9512 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 (57): * Single equations (assignments): 57 * 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.0005457/1.035, allocations: 380.9 kB / 1.193 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/1.036, allocations: 126.4 kB / 1.193 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/1.038, allocations: 1.055 MB / 1.194 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.038, allocations: 8 kB / 1.194 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.038, allocations: 0 / 1.194 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/1.038, allocations: 3.984 kB / 1.194 GB, free: 10.74 MB / 0.9512 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 postOpt removeSimpleEquations (simulation): time 0.003902/1.042, allocations: 2.493 MB / 1.197 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.042, allocations: 8.281 kB / 1.197 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/1.042, allocations: 131.8 kB / 1.197 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/1.042, allocations: 8 kB / 1.197 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/1.042, allocations: 19.98 kB / 1.197 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/1.042, allocations: 7.938 kB / 1.197 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.042, allocations: 4 kB / 1.197 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/1.045, allocations: 1.558 MB / 1.199 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000639/1.046, allocations: 351.3 kB / 1.199 GB, free: 6 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/1.046, allocations: 12 kB / 1.199 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/1.047, allocations: 99.73 kB / 1.199 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.047, allocations: 52.48 kB / 1.199 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/1.047, allocations: 20 kB / 1.199 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001982/1.049, allocations: 1.178 MB / 1.2 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.723e-06/1.049, allocations: 0 / 1.2 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00148/1.051, allocations: 0.5148 MB / 1.201 GB, free: 4.121 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.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 (64): * Single equations (assignments): 64 * 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.003133/1.054, allocations: 2.221 MB / 1.203 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00241/1.056, allocations: 1.248 MB / 1.204 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.056, allocations: 4 kB / 1.204 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007447/1.057, allocations: 431.3 kB / 1.204 GB, free: 188 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/1.06, allocations: 0.5645 MB / 1.205 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/1.079, allocations: 8.832 MB / 1.214 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008693/1.079, allocations: 1.149 MB / 1.215 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00187/1.081, allocations: 365 kB / 1.215 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.082, allocations: 0.5039 MB / 1.216 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of SimCode: time 1.122e-06/1.082, allocations: 4 kB / 1.216 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06594/1.148, allocations: 36.84 MB / 1.252 GB, free: 132 kB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.7119/1.86, allocations: 255.2 kB / 1.252 GB, free: 276.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.783/4.643, allocations: 0 / 1.252 GB, free: 276.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat does not exist to compare? outputFormat=mat