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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.001217/0.001217, allocations: 173.1 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 223.1 MB / 0.7948 GB, free: 18.91 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.001037/0.001037, allocations: 98.77 kB / 0.9346 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004264, allocations: 11.12 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2971, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.12/4.417, allocations: 1.92 GB / 3.143 GB, free: 58.94 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/4.418, allocations: 87.95 kB / 3.143 GB, free: 58.85 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.597/7.014, allocations: 0.5728 GB / 3.716 GB, free: 302.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.565e-06/7.014, allocations: 3.75 kB / 3.716 GB, free: 302.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.85e-05/7.015, allocations: 29.34 kB / 3.716 GB, free: 302.7 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.003623/7.018, allocations: 1.382 MB / 3.717 GB, free: 302.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.813e-05/7.018, allocations: 8.719 kB / 3.717 GB, free: 302.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002292/7.018, allocations: 139.6 kB / 3.717 GB, free: 302.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/7.021, allocations: 323.9 kB / 3.718 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/7.022, allocations: 0.7994 MB / 3.718 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/7.023, allocations: 131.3 kB / 3.719 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/7.023, allocations: 83.12 kB / 3.719 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/7.025, allocations: 1.042 MB / 3.72 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/7.025, allocations: 0.6562 kB / 3.72 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/7.025, allocations: 38.48 kB / 3.72 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.896e-05/7.025, allocations: 34.94 kB / 3.72 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/7.027, allocations: 0.814 MB / 3.721 GB, free: 301.6 MB / 1.167 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.005782/7.033, allocations: 4.052 MB / 3.725 GB, free: 299.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/7.034, allocations: 356.5 kB / 3.725 GB, free: 299.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/7.034, allocations: 103.2 kB / 3.725 GB, free: 299.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/7.034, allocations: 43.48 kB / 3.725 GB, free: 299.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.926e-06/7.034, allocations: 0 / 3.725 GB, free: 299.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=38): time 0.002733/7.037, allocations: 1.3 MB / 3.726 GB, free: 299.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/7.037, allocations: 61.08 kB / 3.726 GB, free: 299 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/7.038, allocations: 0.8829 MB / 3.727 GB, free: 298.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/7.038, allocations: 36.17 kB / 3.727 GB, free: 298.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/7.038, allocations: 497.4 kB / 3.728 GB, free: 298.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/7.038, allocations: 143 kB / 3.728 GB, free: 298.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/7.038, allocations: 10.09 kB / 3.728 GB, free: 298.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001008/7.039, allocations: 334.5 kB / 3.728 GB, free: 298.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/7.039, allocations: 230.2 kB / 3.728 GB, free: 298.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/7.039, allocations: 406.3 kB / 3.729 GB, free: 298.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.001763/7.041, allocations: 0.7397 MB / 3.729 GB, free: 298 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/7.041, allocations: 3.875 kB / 3.729 GB, free: 298 MB / 1.167 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001327/7.043, allocations: 0.7525 MB / 3.73 GB, free: 298 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/7.043, allocations: 6.969 kB / 3.73 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/7.043, allocations: 14.81 kB / 3.73 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/7.043, allocations: 11.25 kB / 3.73 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/7.043, allocations: 138.9 kB / 3.73 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/7.043, allocations: 9.156 kB / 3.73 GB, free: 298 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/7.044, allocations: 106.8 kB / 3.73 GB, free: 297.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/7.044, allocations: 23.97 kB / 3.731 GB, free: 297.9 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 () * 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.0005474/7.045, allocations: 314 kB / 3.731 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/7.045, allocations: 98.66 kB / 3.731 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/7.045, allocations: 105.8 kB / 3.731 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/7.045, allocations: 3.812 kB / 3.731 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/7.045, allocations: 0 / 3.731 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005867/7.046, allocations: 0.6688 MB / 3.732 GB, free: 297.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/7.048, allocations: 1.585 MB / 3.733 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/7.048, allocations: 3.688 kB / 3.733 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/7.049, allocations: 83.34 kB / 3.733 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/7.049, allocations: 7.5 kB / 3.733 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/7.049, allocations: 12.25 kB / 3.733 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/7.049, allocations: 6.281 kB / 3.733 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/7.049, allocations: 9.875 kB / 3.733 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/7.05, allocations: 1.024 MB / 3.734 GB, free: 296.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/7.05, allocations: 243.3 kB / 3.735 GB, free: 296.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/7.051, allocations: 15.53 kB / 3.735 GB, free: 296.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000846/7.051, allocations: 56.53 kB / 3.735 GB, free: 296.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/7.052, allocations: 41.72 kB / 3.735 GB, free: 296.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/7.052, allocations: 25.66 kB / 3.735 GB, free: 296.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009809/7.053, allocations: 0.7041 MB / 3.735 GB, free: 296 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/7.053, allocations: 0 / 3.735 GB, free: 296 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001693/7.054, allocations: 378.5 kB / 3.736 GB, free: 296 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 () * 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.004169/7.058, allocations: 3.902 MB / 3.74 GB, free: 293.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001006/7.059, allocations: 493.8 kB / 3.74 GB, free: 293.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/7.059, allocations: 0 / 3.74 GB, free: 293.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/7.06, allocations: 184.4 kB / 3.74 GB, free: 293.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/7.062, allocations: 0.5793 MB / 3.741 GB, free: 293.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009727/7.072, allocations: 8.953 MB / 3.75 GB, free: 288.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/7.073, allocations: 1.114 MB / 3.751 GB, free: 287.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001185/7.074, allocations: 251 kB / 3.751 GB, free: 287.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000509/7.074, allocations: 343.1 kB / 3.751 GB, free: 287.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.204e-06/7.074, allocations: 0.75 kB / 3.751 GB, free: 287.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08991/7.164, allocations: 47.38 MB / 3.797 GB, free: 286.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/7.165, allocations: 232.8 kB / 3.798 GB, free: 286 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.809/10.97, allocations: 0 / 3.798 GB, free: 286 MB / 1.167 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