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.001316/0.001316, allocations: 100.1 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.001484/0.001484, allocations: 177.3 kB / 15.95 MB, free: 216 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.492/1.492, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.539/2.539, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003711, allocations: 8 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9065/0.9069, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1801/1.087, allocations: 156.6 MB / 1.107 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01543/1.103, allocations: 10.03 MB / 1.116 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/1.105, allocations: 39.69 kB / 1.116 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/1.106, allocations: 0.5015 MB / 1.117 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006568/1.113, allocations: 1.97 MB / 1.119 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006119/1.119, allocations: 2.155 MB / 1.121 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00309/1.122, allocations: 1.533 MB / 1.122 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/1.123, allocations: 0.6022 MB / 1.123 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/1.125, allocations: 0.7788 MB / 1.124 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/1.126, allocations: 0.6852 MB / 1.124 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/1.126, allocations: 44 kB / 1.124 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/1.131, allocations: 1.966 MB / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005292/1.132, allocations: 343.1 kB / 1.127 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004127/1.132, allocations: 233.1 kB / 1.127 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00355/1.136, allocations: 1.902 MB / 1.129 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/1.136, allocations: 0 / 1.129 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.665e-06/1.136, allocations: 0 / 1.129 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.477e-05/1.136, allocations: 0 / 1.129 GB, free: 12.32 MB / 0.8887 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.003493/1.139, allocations: 1.452 MB / 1.13 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.139, allocations: 8.031 kB / 1.13 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/1.139, allocations: 118.5 kB / 1.13 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/1.141, allocations: 294.4 kB / 1.131 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/1.143, allocations: 0.7538 MB / 1.131 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/1.143, allocations: 49.3 kB / 1.131 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/1.143, allocations: 67.98 kB / 1.131 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/1.144, allocations: 0.9805 MB / 1.132 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/1.144, allocations: 3.984 kB / 1.132 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/1.145, allocations: 27.94 kB / 1.132 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/1.145, allocations: 81.88 kB / 1.133 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/1.146, allocations: 1.019 MB / 1.134 GB, free: 7.359 MB / 0.8887 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.005983/1.152, allocations: 3.578 MB / 1.137 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/1.153, allocations: 0.6573 MB / 1.138 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.346e-05/1.153, allocations: 24.48 kB / 1.138 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/1.153, allocations: 43.12 kB / 1.138 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=62): time 2.495e-06/1.153, allocations: 0 / 1.138 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62): time 0.001887/1.155, allocations: 1.029 MB / 1.139 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/1.155, allocations: 111.4 kB / 1.139 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/1.156, allocations: 0.7941 MB / 1.14 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/1.156, allocations: 41.64 kB / 1.14 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/1.157, allocations: 420.1 kB / 1.14 GB, free: 380 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/1.157, allocations: 220.8 kB / 1.14 GB, free: 156 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/1.157, allocations: 16 kB / 1.14 GB, free: 140 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.157, allocations: 338 kB / 1.141 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/1.158, allocations: 325.8 kB / 1.141 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/1.158, allocations: 448.7 kB / 1.141 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/1.159, allocations: 395 kB / 1.142 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/1.159, allocations: 0 / 1.142 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001375/1.16, allocations: 0.9141 MB / 1.143 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003228/1.16, allocations: 0.8928 MB / 1.143 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.16, allocations: 0 / 1.143 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.161, allocations: 8 kB / 1.143 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/1.161, allocations: 147.8 kB / 1.144 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.161, allocations: 8 kB / 1.144 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/1.162, allocations: 111.1 kB / 1.144 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/1.162, allocations: 27.98 kB / 1.144 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.162, allocations: 4 kB / 1.144 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/1.163, allocations: 0.7765 MB / 1.145 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.163, allocations: 4 kB / 1.145 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/1.163, allocations: 4 kB / 1.145 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/1.164, allocations: 147.8 kB / 1.145 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.164, allocations: 8 kB / 1.145 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/1.165, allocations: 107.5 kB / 1.145 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/1.165, allocations: 24 kB / 1.145 GB, free: 11.38 MB / 0.9044 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.0005972/1.166, allocations: 380.6 kB / 1.145 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/1.166, allocations: 90.97 kB / 1.145 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/1.167, allocations: 0.8135 MB / 1.146 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.167, allocations: 4 kB / 1.146 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.167, allocations: 0 / 1.146 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009563/1.168, allocations: 0.7439 MB / 1.147 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/1.171, allocations: 2.094 MB / 1.149 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/1.171, allocations: 4 kB / 1.149 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/1.172, allocations: 131.8 kB / 1.149 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/1.172, allocations: 7.953 kB / 1.149 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/1.172, allocations: 19.98 kB / 1.149 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/1.172, allocations: 8 kB / 1.149 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/1.172, allocations: 7.938 kB / 1.149 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/1.174, allocations: 1.524 MB / 1.15 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/1.174, allocations: 263.8 kB / 1.151 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/1.175, allocations: 19.98 kB / 1.151 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/1.175, allocations: 53.39 kB / 1.151 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/1.175, allocations: 48.28 kB / 1.151 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/1.175, allocations: 27.98 kB / 1.151 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000716/1.176, allocations: 0.5498 MB / 1.151 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.176, allocations: 0 / 1.151 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001798/1.178, allocations: 0.7411 MB / 1.152 GB, free: 3.555 MB / 0.9044 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.003543/1.181, allocations: 3.467 MB / 1.156 GB, free: 15.96 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001977/1.183, allocations: 1.166 MB / 1.157 GB, free: 14.8 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.183, allocations: 0 / 1.157 GB, free: 14.8 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005267/1.184, allocations: 371.7 kB / 1.157 GB, free: 14.44 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.187, allocations: 0.5027 MB / 1.158 GB, free: 13.95 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/1.191, allocations: 4.493 MB / 1.162 GB, free: 9.32 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006541/1.192, allocations: 1.101 MB / 1.163 GB, free: 8.184 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001348/1.193, allocations: 413.9 kB / 1.163 GB, free: 7.777 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/1.194, allocations: 331.3 kB / 1.164 GB, free: 7.457 MB / 0.92 GB Notification: Performance of SimCode: time 1.092e-06/1.194, allocations: 3.938 kB / 1.164 GB, free: 7.453 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05099/1.245, allocations: 29.79 MB / 1.193 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/1.245, allocations: 240.8 kB / 1.193 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/3.669, allocations: 1.375 kB / 1.193 GB, free: 9.82 MB / 0.9512 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