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.52/2.52, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001327/0.001327, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.471/1.471, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.000878/0.0008779, allocations: 84.02 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.788e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2442, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.757/5.001, allocations: 1.92 GB / 3.132 GB, free: 410.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/5.001, allocations: 87.95 kB / 3.133 GB, free: 410.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.977/6.979, allocations: 0.5723 GB / 3.705 GB, free: 262 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.315e-06/6.979, allocations: 0 / 3.705 GB, free: 262 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001808/6.979, allocations: 34.03 kB / 3.705 GB, free: 261.9 MB / 1.151 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.004581/6.984, allocations: 1.25 MB / 3.706 GB, free: 260.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.935e-05/6.984, allocations: 12.03 kB / 3.706 GB, free: 260.7 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006205/6.984, allocations: 135.2 kB / 3.706 GB, free: 260.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/6.987, allocations: 327.4 kB / 3.707 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/6.99, allocations: 0.7952 MB / 3.707 GB, free: 259.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003813/6.99, allocations: 137 kB / 3.707 GB, free: 259.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/6.991, allocations: 80 kB / 3.707 GB, free: 259.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/6.993, allocations: 0.9918 MB / 3.708 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/6.993, allocations: 4 kB / 3.708 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/6.993, allocations: 36 kB / 3.709 GB, free: 258.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.756e-05/6.993, allocations: 33.98 kB / 3.709 GB, free: 258.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/6.995, allocations: 0.734 MB / 3.709 GB, free: 257.4 MB / 1.151 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.00653/7.001, allocations: 4.053 MB / 3.713 GB, free: 253.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/7.002, allocations: 355.8 kB / 3.714 GB, free: 252.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/7.002, allocations: 215 kB / 3.714 GB, free: 252.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/7.002, allocations: 101.1 kB / 3.714 GB, free: 252.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/7.002, allocations: 38.56 kB / 3.714 GB, free: 252.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 3.577e-06/7.002, allocations: 0 / 3.714 GB, free: 252.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.002488/7.005, allocations: 1.17 MB / 3.715 GB, free: 251.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/7.005, allocations: 55.41 kB / 3.715 GB, free: 251.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/7.006, allocations: 0.8353 MB / 3.716 GB, free: 250.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/7.006, allocations: 37.7 kB / 3.716 GB, free: 250.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/7.007, allocations: 494.9 kB / 3.716 GB, free: 249.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/7.007, allocations: 145.5 kB / 3.717 GB, free: 249.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/7.007, allocations: 8 kB / 3.717 GB, free: 249.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.017e-05/7.007, allocations: 326 kB / 3.717 GB, free: 249.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/7.007, allocations: 205.5 kB / 3.717 GB, free: 249 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/7.008, allocations: 371.4 kB / 3.717 GB, free: 248.6 MB / 1.151 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.001697/7.009, allocations: 0.7103 MB / 3.718 GB, free: 247.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/7.009, allocations: 4 kB / 3.718 GB, free: 247.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001051/7.01, allocations: 0.6868 MB / 3.719 GB, free: 247.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/7.01, allocations: 7.938 kB / 3.719 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/7.01, allocations: 8 kB / 3.719 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/7.01, allocations: 8 kB / 3.719 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/7.011, allocations: 144.3 kB / 3.719 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/7.011, allocations: 11.75 kB / 3.719 GB, free: 247 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/7.012, allocations: 103.7 kB / 3.719 GB, free: 246.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/7.012, allocations: 24 kB / 3.719 GB, free: 246.9 MB / 1.151 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.0001677/7.012, allocations: 151 kB / 3.719 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/7.013, allocations: 98.83 kB / 3.719 GB, free: 246.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/7.013, allocations: 101.1 kB / 3.719 GB, free: 246.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/7.013, allocations: 4 kB / 3.719 GB, free: 246.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/7.013, allocations: 0 / 3.719 GB, free: 246.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005635/7.013, allocations: 0.6705 MB / 3.72 GB, free: 245.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/7.016, allocations: 1.565 MB / 3.722 GB, free: 244.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/7.016, allocations: 4.5 kB / 3.722 GB, free: 244.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/7.016, allocations: 87.89 kB / 3.722 GB, free: 244 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/7.016, allocations: 8 kB / 3.722 GB, free: 244 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/7.016, allocations: 15.95 kB / 3.722 GB, free: 244 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/7.016, allocations: 7.938 kB / 3.722 GB, free: 244 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/7.016, allocations: 7.984 kB / 3.722 GB, free: 244 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/7.017, allocations: 1.021 MB / 3.723 GB, free: 242.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/7.018, allocations: 239.9 kB / 3.723 GB, free: 242.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/7.018, allocations: 12 kB / 3.723 GB, free: 242.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007133/7.019, allocations: 63.8 kB / 3.723 GB, free: 242.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/7.019, allocations: 35.86 kB / 3.723 GB, free: 242.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/7.019, allocations: 27.98 kB / 3.723 GB, free: 242.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007602/7.02, allocations: 0.6648 MB / 3.724 GB, free: 241.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/7.02, allocations: 0 / 3.724 GB, free: 241.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001336/7.021, allocations: 376 kB / 3.724 GB, free: 241.3 MB / 1.151 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.003102/7.024, allocations: 3.878 MB / 3.728 GB, free: 237.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007276/7.025, allocations: 460 kB / 3.728 GB, free: 236.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/7.025, allocations: 0 / 3.728 GB, free: 236.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/7.025, allocations: 182.5 kB / 3.728 GB, free: 236.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/7.027, allocations: 0.5925 MB / 3.729 GB, free: 236.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/7.03, allocations: 1.686 MB / 3.731 GB, free: 234.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/7.031, allocations: 1.118 MB / 3.732 GB, free: 233.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007969/7.031, allocations: 240.2 kB / 3.732 GB, free: 233 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/7.032, allocations: 343.3 kB / 3.732 GB, free: 232.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.182e-06/7.032, allocations: 0 / 3.732 GB, free: 232.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0881/7.12, allocations: 50.67 MB / 3.782 GB, free: 182.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/7.12, allocations: 215.6 kB / 3.782 GB, free: 182 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.933/11.05, allocations: 0 / 3.782 GB, free: 182 MB / 1.151 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