Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.201/2.201, allocations: 390.3 MB / 402.8 MB, free: 6.648 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 184.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.3 MB / 0.7915 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000949/0.0009493, allocations: 83.98 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.829e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3239, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.344/6.668, allocations: 1.921 GB / 3.14 GB, free: 338 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/6.668, allocations: 88.05 kB / 3.14 GB, free: 338 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.05/8.718, allocations: 0.5723 GB / 3.712 GB, free: 218.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.264e-06/8.718, allocations: 0 / 3.712 GB, free: 218.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.481e-05/8.718, allocations: 35.92 kB / 3.712 GB, free: 218.6 MB / 1.167 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.00293/8.721, allocations: 1.243 MB / 3.713 GB, free: 217.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/8.721, allocations: 12.02 kB / 3.713 GB, free: 217.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/8.722, allocations: 140.4 kB / 3.713 GB, free: 217.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/8.724, allocations: 314.3 kB / 3.714 GB, free: 216.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/8.725, allocations: 0.8004 MB / 3.714 GB, free: 216 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003295/8.726, allocations: 125.9 kB / 3.715 GB, free: 215.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/8.726, allocations: 84 kB / 3.715 GB, free: 215.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/8.727, allocations: 1.004 MB / 3.716 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/8.727, allocations: 0 / 3.716 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/8.727, allocations: 32 kB / 3.716 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/8.728, allocations: 38 kB / 3.716 GB, free: 214.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/8.729, allocations: 0.734 MB / 3.716 GB, free: 213.9 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.005236/8.734, allocations: 4.047 MB / 3.72 GB, free: 209.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/8.734, allocations: 360.5 kB / 3.721 GB, free: 209.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/8.735, allocations: 202.8 kB / 3.721 GB, free: 209 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/8.735, allocations: 113 kB / 3.721 GB, free: 208.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/8.735, allocations: 38.56 kB / 3.721 GB, free: 208.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 3.557e-06/8.735, allocations: 4 kB / 3.721 GB, free: 208.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=38): time 0.002384/8.737, allocations: 1.158 MB / 3.722 GB, free: 207.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/8.737, allocations: 55.41 kB / 3.722 GB, free: 207.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/8.738, allocations: 0.8431 MB / 3.723 GB, free: 206.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/8.738, allocations: 33.7 kB / 3.723 GB, free: 206.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/8.739, allocations: 495.3 kB / 3.724 GB, free: 206.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.403e-05/8.739, allocations: 138.1 kB / 3.724 GB, free: 206 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/8.739, allocations: 16 kB / 3.724 GB, free: 206 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/8.739, allocations: 329.9 kB / 3.724 GB, free: 205.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/8.739, allocations: 201.5 kB / 3.724 GB, free: 205.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/8.74, allocations: 367.4 kB / 3.725 GB, free: 205.1 MB / 1.167 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.001663/8.741, allocations: 0.7032 MB / 3.725 GB, free: 204.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/8.741, allocations: 4 kB / 3.725 GB, free: 204.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009571/8.742, allocations: 0.6867 MB / 3.726 GB, free: 203.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/8.742, allocations: 8.625 kB / 3.726 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/8.742, allocations: 8 kB / 3.726 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-05/8.742, allocations: 8 kB / 3.726 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/8.743, allocations: 143.8 kB / 3.726 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/8.743, allocations: 11.94 kB / 3.726 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/8.744, allocations: 103.7 kB / 3.726 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/8.744, allocations: 24 kB / 3.726 GB, free: 203.4 MB / 1.167 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 () * 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.0001711/8.744, allocations: 152.7 kB / 3.726 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/8.744, allocations: 94.88 kB / 3.726 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/8.745, allocations: 101.2 kB / 3.727 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/8.745, allocations: 4 kB / 3.727 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/8.745, allocations: 7.938 kB / 3.727 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005684/8.745, allocations: 0.6711 MB / 3.727 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/8.748, allocations: 1.574 MB / 3.729 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/8.748, allocations: 4 kB / 3.729 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/8.748, allocations: 87.84 kB / 3.729 GB, free: 200.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/8.748, allocations: 4 kB / 3.729 GB, free: 200.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/8.748, allocations: 15.98 kB / 3.729 GB, free: 200.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/8.748, allocations: 8 kB / 3.729 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/8.748, allocations: 8.406 kB / 3.729 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/8.749, allocations: 1.009 MB / 3.73 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/8.75, allocations: 235.9 kB / 3.73 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/8.75, allocations: 23.94 kB / 3.73 GB, free: 199 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007288/8.75, allocations: 55.81 kB / 3.73 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/8.751, allocations: 35.91 kB / 3.73 GB, free: 198.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/8.751, allocations: 23.98 kB / 3.73 GB, free: 198.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008524/8.751, allocations: 0.6725 MB / 3.731 GB, free: 198.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/8.751, allocations: 0 / 3.731 GB, free: 198.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001519/8.753, allocations: 379.9 kB / 3.731 GB, free: 197.8 MB / 1.167 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 () * 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.003464/8.756, allocations: 3.889 MB / 3.735 GB, free: 193.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008663/8.757, allocations: 444.7 kB / 3.735 GB, free: 193.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/8.757, allocations: 256 / 3.735 GB, free: 193.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/8.758, allocations: 187.7 kB / 3.736 GB, free: 193.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/8.761, allocations: 0.584 MB / 3.736 GB, free: 192.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/8.765, allocations: 1.691 MB / 3.738 GB, free: 190.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/8.766, allocations: 1.122 MB / 3.739 GB, free: 189.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001227/8.767, allocations: 244.3 kB / 3.739 GB, free: 189.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/8.767, allocations: 339.3 kB / 3.74 GB, free: 189 MB / 1.167 GB Notification: Performance of SimCode: time 9.81e-07/8.767, allocations: 0 / 3.74 GB, free: 189 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08723/8.855, allocations: 50.68 MB / 3.789 GB, free: 138.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/8.855, allocations: 213.7 kB / 3.789 GB, free: 138.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.424/12.28, allocations: 0 / 3.789 GB, free: 138.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat does not exist to compare? outputFormat=mat