Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.0008818/0.0008815, allocations: 84.38 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.000872/0.0008725, 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.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.383 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.591/2.591, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004102, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7272/0.7276, allocations: 142.3 MB / 0.9539 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1892/0.9169, allocations: 173.1 MB / 1.123 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008883/0.9258, allocations: 5.363 MB / 1.128 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.9271, allocations: 31.81 kB / 1.128 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.9283, allocations: 393.5 kB / 1.129 GB, free: 12.73 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003195/0.9316, allocations: 1.205 MB / 1.13 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.9342, allocations: 0.906 MB / 1.131 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003609/0.9378, allocations: 2.933 MB / 1.134 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.939, allocations: 0.6882 MB / 1.134 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.9409, allocations: 0.848 MB / 1.135 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.9424, allocations: 0.7744 MB / 1.136 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.9425, allocations: 40 kB / 1.136 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/0.9449, allocations: 0.8964 MB / 1.137 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005651/0.9455, allocations: 434.8 kB / 1.137 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004214/0.9459, allocations: 253.1 kB / 1.137 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.9478, allocations: 1.477 MB / 1.139 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.9478, allocations: 0 / 1.139 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.155e-06/0.9479, allocations: 0 / 1.139 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.9479, allocations: 0 / 1.139 GB, free: 2.25 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00234/0.9502, allocations: 1.254 MB / 1.14 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.9503, allocations: 8.031 kB / 1.14 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.9505, allocations: 147.2 kB / 1.14 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/0.9524, allocations: 342.3 kB / 1.14 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.9536, allocations: 0.7575 MB / 1.141 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/0.9539, allocations: 125.9 kB / 1.141 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.9541, allocations: 84 kB / 1.141 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.9558, allocations: 1.076 MB / 1.142 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.9559, allocations: 7.922 kB / 1.142 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.039e-05/0.956, allocations: 35.95 kB / 1.143 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/0.956, allocations: 38 kB / 1.143 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.9574, allocations: 0.8392 MB / 1.143 GB, free: 13.42 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.005033/0.9625, allocations: 4.05 MB / 1.147 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/0.963, allocations: 376.5 kB / 1.148 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.9633, allocations: 210.1 kB / 1.148 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.9635, allocations: 101.1 kB / 1.148 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.9636, allocations: 42.56 kB / 1.148 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=36): time 2.425e-06/0.9636, allocations: 0 / 1.148 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38): time 0.002361/0.9659, allocations: 1.333 MB / 1.149 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.966, allocations: 59.36 kB / 1.149 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.9672, allocations: 0.9881 MB / 1.15 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.9673, allocations: 33.7 kB / 1.15 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.9676, allocations: 499.3 kB / 1.151 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.9678, allocations: 142 kB / 1.151 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.9678, allocations: 12 kB / 1.151 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.9679, allocations: 330 kB / 1.151 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.9683, allocations: 237.2 kB / 1.152 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/0.9689, allocations: 409.2 kB / 1.152 GB, free: 4.168 MB / 0.9044 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.9707, allocations: 0.7386 MB / 1.153 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.9707, allocations: 0 / 1.153 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001305/0.972, allocations: 0.7538 MB / 1.153 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.972, allocations: 12.06 kB / 1.153 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.972, allocations: 4 kB / 1.153 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.9721, allocations: 8 kB / 1.153 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.9726, allocations: 135.8 kB / 1.154 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.9726, allocations: 19.88 kB / 1.154 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008918/0.9735, allocations: 91.84 kB / 1.154 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.9736, allocations: 27.98 kB / 1.154 GB, free: 2.355 MB / 0.9044 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.0004662/0.9741, allocations: 313.5 kB / 1.154 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.9742, allocations: 102.8 kB / 1.154 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.9744, allocations: 101 kB / 1.154 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.9744, allocations: 4 kB / 1.154 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.9744, allocations: 0 / 1.154 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006683/0.9751, allocations: 0.679 MB / 1.155 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.9774, allocations: 1.586 MB / 1.156 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.9775, allocations: 4 kB / 1.156 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.9779, allocations: 91.77 kB / 1.156 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.9779, allocations: 8 kB / 1.156 GB, free: 15.28 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.9779, allocations: 16.5 kB / 1.156 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.9779, allocations: 4 kB / 1.157 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.978, allocations: 11.94 kB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.979, allocations: 0.8293 MB / 1.157 GB, free: 14.35 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.9794, allocations: 239.9 kB / 1.158 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.9796, allocations: 12 kB / 1.158 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.9802, allocations: 61.5 kB / 1.158 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.9803, allocations: 35.86 kB / 1.158 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/0.9804, allocations: 27.92 kB / 1.158 GB, free: 13.96 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009977/0.9814, allocations: 0.7034 MB / 1.158 GB, free: 13.25 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9814, allocations: 4 kB / 1.158 GB, free: 13.25 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008503/0.9822, allocations: 252 kB / 1.159 GB, free: 13 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001606/0.9838, allocations: 1.468 MB / 1.16 GB, free: 11.46 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009043/0.9848, allocations: 0.4918 MB / 1.161 GB, free: 10.97 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.9848, allocations: 0 / 1.161 GB, free: 10.97 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.985, allocations: 186.1 kB / 1.161 GB, free: 10.79 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.9875, allocations: 0.6052 MB / 1.161 GB, free: 10.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008266/0.9958, allocations: 5.851 MB / 1.167 GB, free: 4.055 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.9964, allocations: 1.099 MB / 1.168 GB, free: 2.926 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009318/0.9973, allocations: 236.2 kB / 1.168 GB, free: 2.691 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.9978, allocations: 347.3 kB / 1.169 GB, free: 2.352 MB / 0.92 GB Notification: Performance of SimCode: time 5.51e-07/0.9978, allocations: 3.938 kB / 1.169 GB, free: 2.348 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04548/1.043, allocations: 27.17 MB / 1.195 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/1.043, allocations: 249.7 kB / 1.195 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.501, allocations: 0 / 1.195 GB, free: 7.355 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat does not exist to compare? outputFormat=mat