Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.0008057/0.0008058, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008224/0.0008225, allocations: 168.7 kB / 15.95 MB, free: 204 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.461/1.461, allocations: 223.3 MB / 240 MB, free: 5.418 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.498/2.498, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8615/0.8619, allocations: 142.3 MB / 0.9538 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2066/1.069, allocations: 171.4 MB / 1.121 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01606/1.085, allocations: 10.16 MB / 1.131 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/1.087, allocations: 39.69 kB / 1.131 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/1.088, allocations: 357.7 kB / 1.132 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006949/1.095, allocations: 1.964 MB / 1.133 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006551/1.102, allocations: 1.885 MB / 1.135 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005425/1.107, allocations: 3.308 MB / 1.139 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/1.108, allocations: 0.5865 MB / 1.139 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/1.111, allocations: 0.8989 MB / 1.14 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/1.113, allocations: 1.028 MB / 1.141 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002694/1.113, allocations: 48 kB / 1.141 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005827/1.119, allocations: 2.062 MB / 1.143 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008568/1.12, allocations: 378.9 kB / 1.143 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005732/1.12, allocations: 237.1 kB / 1.144 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004035/1.124, allocations: 1.972 MB / 1.146 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.124, allocations: 0 / 1.146 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.645e-06/1.124, allocations: 0 / 1.146 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.19e-05/1.124, allocations: 0 / 1.146 GB, free: 11.24 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003607/1.128, allocations: 1.483 MB / 1.147 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.128, allocations: 16.03 kB / 1.147 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/1.128, allocations: 114.5 kB / 1.147 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/1.13, allocations: 290.4 kB / 1.147 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/1.131, allocations: 0.7538 MB / 1.148 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/1.131, allocations: 49.3 kB / 1.148 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/1.132, allocations: 67.98 kB / 1.148 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/1.133, allocations: 0.9844 MB / 1.149 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/1.133, allocations: 0 / 1.149 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/1.133, allocations: 35.88 kB / 1.149 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.643e-05/1.133, allocations: 69.95 kB / 1.149 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/1.135, allocations: 1.023 MB / 1.15 GB, free: 6.246 MB / 0.9044 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.005671/1.141, allocations: 3.586 MB / 1.154 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/1.142, allocations: 0.66 MB / 1.154 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005239/1.142, allocations: 383.7 kB / 1.155 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/1.143, allocations: 198.7 kB / 1.155 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/1.143, allocations: 47.12 kB / 1.155 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=62): time 2.424e-06/1.143, allocations: 0 / 1.155 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62): time 0.001922/1.145, allocations: 1.021 MB / 1.156 GB, free: 72 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/1.145, allocations: 115.4 kB / 1.156 GB, free: 15.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009879/1.146, allocations: 0.7863 MB / 1.157 GB, free: 15.14 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/1.146, allocations: 41.7 kB / 1.157 GB, free: 15.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/1.146, allocations: 424.1 kB / 1.157 GB, free: 14.67 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/1.146, allocations: 224.8 kB / 1.158 GB, free: 14.45 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/1.146, allocations: 16 kB / 1.158 GB, free: 14.43 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.147, allocations: 334 kB / 1.158 GB, free: 14.1 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/1.147, allocations: 321.8 kB / 1.158 GB, free: 13.79 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/1.148, allocations: 460.7 kB / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/1.148, allocations: 387.1 kB / 1.159 GB, free: 12.92 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.148, allocations: 0 / 1.159 GB, free: 12.92 MB / 0.92 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001446/1.15, allocations: 0.9216 MB / 1.16 GB, free: 11.99 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.15, allocations: 155.6 kB / 1.16 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.15, allocations: 4.062 kB / 1.16 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/1.15, allocations: 8 kB / 1.16 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/1.151, allocations: 147.8 kB / 1.16 GB, free: 11.65 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/1.151, allocations: 12 kB / 1.16 GB, free: 11.64 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/1.151, allocations: 111.1 kB / 1.16 GB, free: 11.53 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/1.152, allocations: 27.98 kB / 1.16 GB, free: 11.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/1.152, allocations: 8.875 kB / 1.16 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/1.153, allocations: 0.7727 MB / 1.161 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/1.153, allocations: 0 / 1.161 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/1.153, allocations: 8 kB / 1.161 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/1.153, allocations: 148 kB / 1.161 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/1.153, allocations: 15.94 kB / 1.161 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/1.154, allocations: 103.2 kB / 1.161 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.626e-05/1.154, allocations: 24 kB / 1.161 GB, free: 10.43 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0005538/1.155, allocations: 372.7 kB / 1.162 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/1.155, allocations: 86.97 kB / 1.162 GB, free: 9.965 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/1.156, allocations: 0.8123 MB / 1.163 GB, free: 9.148 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.156, allocations: 8 kB / 1.163 GB, free: 9.141 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.156, allocations: 15.88 kB / 1.163 GB, free: 9.125 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009616/1.157, allocations: 0.7439 MB / 1.163 GB, free: 8.352 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/1.161, allocations: 2.086 MB / 1.165 GB, free: 6.168 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.161, allocations: 4 kB / 1.165 GB, free: 6.164 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/1.161, allocations: 131.8 kB / 1.166 GB, free: 6.035 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/1.161, allocations: 4.438 kB / 1.166 GB, free: 6.031 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/1.161, allocations: 24 kB / 1.166 GB, free: 6.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/1.161, allocations: 4 kB / 1.166 GB, free: 6.004 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/1.161, allocations: 15.91 kB / 1.166 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/1.163, allocations: 1.363 MB / 1.167 GB, free: 4.562 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/1.164, allocations: 259.8 kB / 1.167 GB, free: 4.289 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/1.164, allocations: 16 kB / 1.167 GB, free: 4.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005703/1.164, allocations: 57.39 kB / 1.167 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/1.165, allocations: 52.27 kB / 1.167 GB, free: 4.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/1.165, allocations: 20 kB / 1.167 GB, free: 4.148 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007419/1.165, allocations: 0.5498 MB / 1.168 GB, free: 3.602 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/1.165, allocations: 0 / 1.168 GB, free: 3.602 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002055/1.167, allocations: 0.7489 MB / 1.169 GB, free: 2.852 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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.003954/1.171, allocations: 2.345 MB / 1.171 GB, free: 448 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002335/1.174, allocations: 1.171 MB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.174, allocations: 0 / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005487/1.174, allocations: 362.2 kB / 1.172 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/1.177, allocations: 0.5126 MB / 1.173 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009782/1.187, allocations: 5.989 MB / 1.179 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006872/1.187, allocations: 1.078 MB / 1.18 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001452/1.189, allocations: 417.9 kB / 1.18 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005039/1.189, allocations: 335.3 kB / 1.181 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of SimCode: time 8.91e-07/1.189, allocations: 0 / 1.181 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05197/1.241, allocations: 30.3 MB / 1.21 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/1.242, allocations: 252.7 kB / 1.21 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.732, allocations: 0 / 1.21 GB, free: 8.172 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat does not exist to compare? outputFormat=mat