Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.0009815/0.0009815, allocations: 86.33 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.001207/0.001207, 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.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.414 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.488/2.488, allocations: 390.4 MB / 0.6655 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 12 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7172, allocations: 142.3 MB / 0.9538 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1735/0.8907, allocations: 173.3 MB / 1.123 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009293/0.9001, allocations: 5.396 MB / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.9016, allocations: 31.75 kB / 1.128 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.9028, allocations: 393.5 kB / 1.129 GB, free: 12.58 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.003655/0.9065, allocations: 1.365 MB / 1.13 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.9091, allocations: 0.845 MB / 1.131 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004081/0.9132, allocations: 3.442 MB / 1.134 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.9145, allocations: 0.8134 MB / 1.135 GB, free: 6.098 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.9161, allocations: 0.8752 MB / 1.136 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.9174, allocations: 0.9068 MB / 1.137 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.9176, allocations: 52 kB / 1.137 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.9196, allocations: 0.7015 MB / 1.138 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004839/0.9201, allocations: 0.4908 MB / 1.138 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.9204, allocations: 285 kB / 1.138 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.922, allocations: 1.625 MB / 1.14 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9221, allocations: 0 / 1.14 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9221, allocations: 0 / 1.14 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.9221, allocations: 0 / 1.14 GB, free: 1.148 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002059/0.9242, allocations: 1.394 MB / 1.141 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.9242, allocations: 8.031 kB / 1.141 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/0.9244, allocations: 160.2 kB / 1.141 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.9263, allocations: 334.2 kB / 1.142 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.9275, allocations: 0.8401 MB / 1.143 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.213e-05/0.9276, allocations: 70 kB / 1.143 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.9277, allocations: 100 kB / 1.143 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.9295, allocations: 1.085 MB / 1.144 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.9295, allocations: 0 / 1.144 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.36e-05/0.9296, allocations: 51.89 kB / 1.144 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/0.9297, allocations: 41.98 kB / 1.144 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.9312, allocations: 0.9954 MB / 1.145 GB, free: 11.97 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.005351/0.9366, allocations: 4.256 MB / 1.149 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/0.9374, allocations: 0.5947 MB / 1.15 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/0.9379, allocations: 346.5 kB / 1.15 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.9381, allocations: 113.5 kB / 1.15 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.9381, allocations: 43 kB / 1.15 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=53): time 2.375e-06/0.9381, allocations: 0 / 1.15 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55): time 0.003858/0.942, allocations: 2.216 MB / 1.152 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.942, allocations: 63.86 kB / 1.152 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.9431, allocations: 0.8765 MB / 1.153 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/0.9432, allocations: 41.7 kB / 1.153 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.9436, allocations: 0.5107 MB / 1.154 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.9438, allocations: 197.1 kB / 1.154 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.9438, allocations: 12 kB / 1.154 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.944, allocations: 334 kB / 1.154 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/0.9444, allocations: 285.8 kB / 1.154 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.945, allocations: 446.8 kB / 1.155 GB, free: 1.129 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.002768/0.9478, allocations: 1.098 MB / 1.156 GB, free: 16 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.9478, allocations: 0 / 1.156 GB, free: 16 kB / 0.9044 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001676/0.9495, allocations: 0.934 MB / 1.157 GB, free: 15.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.9495, allocations: 8 kB / 1.157 GB, free: 15.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.9496, allocations: 4 kB / 1.157 GB, free: 15.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001915/0.9498, allocations: 94.45 kB / 1.157 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/0.9505, allocations: 179.7 kB / 1.157 GB, free: 14.78 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.9544, allocations: 4.278 MB / 1.161 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.9556, allocations: 79.8 kB / 1.161 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/0.9557, allocations: 31.98 kB / 1.161 GB, free: 9.992 MB / 0.92 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: 17 * 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006619/0.9564, allocations: 349.5 kB / 1.162 GB, free: 9.641 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.9566, allocations: 102.8 kB / 1.162 GB, free: 9.539 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.9568, allocations: 105.2 kB / 1.162 GB, free: 9.434 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.9568, allocations: 8 kB / 1.162 GB, free: 9.426 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.9568, allocations: 0 / 1.162 GB, free: 9.426 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/0.9581, allocations: 0.7731 MB / 1.163 GB, free: 8.602 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.9622, allocations: 1.995 MB / 1.165 GB, free: 6.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.9622, allocations: 4 kB / 1.165 GB, free: 6.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006833/0.9629, allocations: 160.2 kB / 1.165 GB, free: 6.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.9631, allocations: 44.83 kB / 1.165 GB, free: 6.293 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.9631, allocations: 20 kB / 1.165 GB, free: 6.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.9645, allocations: 1.48 MB / 1.166 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.9645, allocations: 7.938 kB / 1.166 GB, free: 4.652 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.9669, allocations: 1.226 MB / 1.168 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/0.9676, allocations: 251.9 kB / 1.168 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.9677, allocations: 12 kB / 1.168 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007422/0.9684, allocations: 79.73 kB / 1.168 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.9686, allocations: 35.95 kB / 1.168 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/0.9686, allocations: 43.91 kB / 1.168 GB, free: 2.934 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007975/0.9694, allocations: 0.6044 MB / 1.169 GB, free: 2.332 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9695, allocations: 0 / 1.169 GB, free: 2.332 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001045/0.9705, allocations: 304 kB / 1.169 GB, free: 2.035 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002251/0.9728, allocations: 1.854 MB / 1.171 GB, free: 120 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.9743, allocations: 1.007 MB / 1.172 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.9744, allocations: 4.25 kB / 1.172 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006057/0.975, allocations: 458.1 kB / 1.172 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/0.978, allocations: 0.6321 MB / 1.173 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009326/0.9873, allocations: 6.258 MB / 1.179 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007201/0.9881, allocations: 1.174 MB / 1.18 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001046/0.9891, allocations: 256.4 kB / 1.18 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/0.9896, allocations: 379.3 kB / 1.181 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of SimCode: time 1.092e-06/0.9896, allocations: 0 / 1.181 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05648/1.046, allocations: 29.92 MB / 1.21 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003456/1.046, allocations: 290.4 kB / 1.21 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.514, allocations: 0 / 1.21 GB, free: 7.891 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat does not exist to compare? outputFormat=mat