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.001026/0.001027, allocations: 99.94 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.001146/0.001147, 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.421/1.421, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.471/2.471, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003022, allocations: 15.92 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7029, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1875/0.8905, allocations: 158.2 MB / 1.108 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008778/0.8993, allocations: 5.626 MB / 1.114 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009539/0.9003, allocations: 31.75 kB / 1.114 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.9017, allocations: 0.5599 MB / 1.114 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004746/0.9065, allocations: 1.667 MB / 1.116 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0037/0.9102, allocations: 1.194 MB / 1.117 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003324/0.9135, allocations: 1.688 MB / 1.119 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.9148, allocations: 0.8213 MB / 1.119 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.9163, allocations: 0.7747 MB / 1.12 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000804/0.9171, allocations: 0.6032 MB / 1.121 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.9172, allocations: 48 kB / 1.121 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.9189, allocations: 0.6162 MB / 1.121 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004609/0.9194, allocations: 462.8 kB / 1.122 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.9197, allocations: 285.1 kB / 1.122 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.9216, allocations: 1.543 MB / 1.124 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.9216, allocations: 0 / 1.124 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9216, allocations: 4 kB / 1.124 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.9216, allocations: 0 / 1.124 GB, free: 1.602 MB / 0.8731 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.002309/0.924, allocations: 1.359 MB / 1.125 GB, free: 196 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.924, allocations: 16.03 kB / 1.125 GB, free: 180 kB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.9242, allocations: 164 kB / 1.125 GB, free: 8 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/0.9262, allocations: 326.4 kB / 1.125 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.9276, allocations: 0.8363 MB / 1.126 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.9277, allocations: 74 kB / 1.126 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.9279, allocations: 100 kB / 1.126 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.9297, allocations: 1.081 MB / 1.128 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.9297, allocations: 0 / 1.128 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.9298, allocations: 39.78 kB / 1.128 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.9299, allocations: 45.98 kB / 1.128 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.9316, allocations: 0.9954 MB / 1.129 GB, free: 12.47 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.006868/0.9385, allocations: 4.249 MB / 1.133 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008867/0.9394, allocations: 0.5986 MB / 1.133 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.795e-05/0.9394, allocations: 20.36 kB / 1.133 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.9395, allocations: 43 kB / 1.133 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=53): time 2.244e-06/0.9395, allocations: 0 / 1.133 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of matching and sorting (n=55): time 0.00438/0.9439, allocations: 2.218 MB / 1.136 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.9439, allocations: 63.92 kB / 1.136 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.945, allocations: 0.8765 MB / 1.136 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.9451, allocations: 37.7 kB / 1.136 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.9455, allocations: 0.5184 MB / 1.137 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.9457, allocations: 197.2 kB / 1.137 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.9457, allocations: 12 kB / 1.137 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.9459, allocations: 330 kB / 1.137 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.9464, allocations: 289.8 kB / 1.138 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.947, allocations: 444.8 kB / 1.138 GB, free: 2.074 MB / 0.8887 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.003142/0.9501, allocations: 1.102 MB / 1.139 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9502, allocations: 0 / 1.139 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001667/0.9518, allocations: 0.934 MB / 1.14 GB, free: 12 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.9519, allocations: 9.25 kB / 1.14 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.9519, allocations: 4 kB / 1.14 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.9521, allocations: 94.52 kB / 1.14 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.9528, allocations: 183.7 kB / 1.14 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.9569, allocations: 4.325 MB / 1.145 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.958, allocations: 82.95 kB / 1.145 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.9581, allocations: 28 kB / 1.145 GB, free: 10.89 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: 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.0005804/0.9587, allocations: 341.5 kB / 1.145 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.9589, allocations: 98.83 kB / 1.145 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.9591, allocations: 109.2 kB / 1.145 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.9591, allocations: 8 kB / 1.145 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9591, allocations: 0 / 1.145 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/0.9603, allocations: 0.7692 MB / 1.146 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/0.9638, allocations: 2.015 MB / 1.148 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.9638, allocations: 4 kB / 1.148 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/0.9645, allocations: 160.2 kB / 1.148 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.9646, allocations: 40.83 kB / 1.148 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.9647, allocations: 16 kB / 1.148 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.966, allocations: 1.507 MB / 1.15 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.966, allocations: 3.938 kB / 1.15 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.968, allocations: 1.373 MB / 1.151 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005983/0.9686, allocations: 251.9 kB / 1.151 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.9688, allocations: 19.98 kB / 1.151 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007834/0.9696, allocations: 71.8 kB / 1.151 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.9697, allocations: 51.83 kB / 1.151 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.9698, allocations: 31.98 kB / 1.151 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001024/0.9709, allocations: 0.6044 MB / 1.152 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9709, allocations: 0 / 1.152 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001044/0.9719, allocations: 300 kB / 1.152 GB, free: 2.68 MB / 0.9044 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.002955/0.9749, allocations: 2.907 MB / 1.155 GB, free: 15.66 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.9767, allocations: 0.9988 MB / 1.156 GB, free: 14.62 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.9767, allocations: 0 / 1.156 GB, free: 14.62 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006746/0.9774, allocations: 467.8 kB / 1.157 GB, free: 14.16 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/0.9804, allocations: 0.6189 MB / 1.157 GB, free: 13.54 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.9923, allocations: 8.606 MB / 1.166 GB, free: 4.648 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.9935, allocations: 1.19 MB / 1.167 GB, free: 3.43 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001143/0.9946, allocations: 264.4 kB / 1.167 GB, free: 3.168 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.9952, allocations: 379.3 kB / 1.167 GB, free: 2.797 MB / 0.92 GB Notification: Performance of SimCode: time 5.51e-07/0.9952, allocations: 0 / 1.167 GB, free: 2.797 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05565/1.051, allocations: 29.88 MB / 1.197 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/1.051, allocations: 276.2 kB / 1.197 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/3.499, allocations: 0 / 1.197 GB, free: 5.086 MB / 0.9512 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