Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.189/2.189, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001199/0.001199, allocations: 187.2 kB / 498.1 MB, free: 5.688 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.72/1.72, allocations: 223.1 MB / 0.7948 GB, free: 18.84 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.001133/0.001133, allocations: 97.73 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003951, allocations: 8.906 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3059, allocations: 142.4 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.482/4.788, allocations: 1.93 GB / 3.153 GB, free: 49.43 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/4.788, allocations: 88.8 kB / 3.153 GB, free: 49.35 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.641/7.429, allocations: 0.615 GB / 3.768 GB, free: 311.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.483e-06/7.429, allocations: 0 / 3.768 GB, free: 311.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.901e-05/7.429, allocations: 21.16 kB / 3.768 GB, free: 311.2 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.003265/7.432, allocations: 1.136 MB / 3.769 GB, free: 310.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/7.432, allocations: 11.72 kB / 3.769 GB, free: 310.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000282/7.433, allocations: 101.9 kB / 3.769 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/7.434, allocations: 187.4 kB / 3.769 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/7.435, allocations: 0.5401 MB / 3.77 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/7.435, allocations: 113.4 kB / 3.77 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/7.436, allocations: 63.81 kB / 3.77 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/7.437, allocations: 0.757 MB / 3.77 GB, free: 310 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/7.437, allocations: 6.906 kB / 3.77 GB, free: 310 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/7.437, allocations: 23.38 kB / 3.77 GB, free: 310 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/7.437, allocations: 23.36 kB / 3.77 GB, free: 310 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009298/7.438, allocations: 461.6 kB / 3.771 GB, free: 310 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.003656/7.442, allocations: 4.201 MB / 3.775 GB, free: 306.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/7.442, allocations: 99.44 kB / 3.775 GB, free: 306.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/7.442, allocations: 98.45 kB / 3.775 GB, free: 306.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/7.442, allocations: 44.56 kB / 3.775 GB, free: 306.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 2.314e-06/7.442, allocations: 0 / 3.775 GB, free: 306.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0006813/7.443, allocations: 244.6 kB / 3.775 GB, free: 306.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/7.443, allocations: 135.6 kB / 3.776 GB, free: 306.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008841/7.444, allocations: 0.7371 MB / 3.776 GB, free: 306.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/7.444, allocations: 29.52 kB / 3.776 GB, free: 306.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/7.444, allocations: 400.2 kB / 3.777 GB, free: 306.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/7.444, allocations: 41.36 kB / 3.777 GB, free: 306.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/7.444, allocations: 9.469 kB / 3.777 GB, free: 306.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/7.444, allocations: 317.4 kB / 3.777 GB, free: 305.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/7.444, allocations: 117.2 kB / 3.777 GB, free: 305.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/7.445, allocations: 359.1 kB / 3.778 GB, free: 305.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/7.445, allocations: 163.3 kB / 3.778 GB, free: 305.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/7.445, allocations: 6.281 kB / 3.778 GB, free: 305.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007995/7.446, allocations: 491.6 kB / 3.778 GB, free: 305.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/7.446, allocations: 9.062 kB / 3.778 GB, free: 305.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/7.446, allocations: 11.75 kB / 3.778 GB, free: 305.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/7.446, allocations: 12.45 kB / 3.778 GB, free: 305.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/7.446, allocations: 95 kB / 3.778 GB, free: 305.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/7.446, allocations: 17.53 kB / 3.778 GB, free: 305.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007465/7.447, allocations: 131.5 kB / 3.778 GB, free: 305.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/7.447, allocations: 27.38 kB / 3.778 GB, free: 305.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0002724/7.447, allocations: 227.1 kB / 3.779 GB, free: 305.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/7.447, allocations: 75.5 kB / 3.779 GB, free: 305.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/7.448, allocations: 73.98 kB / 3.779 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/7.448, allocations: 7.828 kB / 3.779 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/7.448, allocations: 3.031 kB / 3.779 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/7.448, allocations: 3.938 kB / 3.779 GB, free: 305.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/7.449, allocations: 1.119 MB / 3.78 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/7.449, allocations: 7.812 kB / 3.78 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.767e-05/7.449, allocations: 14.62 kB / 3.78 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/7.449, allocations: 7.75 kB / 3.78 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/7.449, allocations: 6.531 kB / 3.78 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/7.449, allocations: 0 / 3.78 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/7.449, allocations: 11.47 kB / 3.78 GB, free: 304.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/7.449, allocations: 365.5 kB / 3.78 GB, free: 304.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/7.449, allocations: 173.9 kB / 3.78 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-05/7.45, allocations: 3.969 kB / 3.78 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/7.45, allocations: 31.94 kB / 3.781 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/7.45, allocations: 14.41 kB / 3.781 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/7.45, allocations: 3.906 kB / 3.781 GB, free: 304.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000733/7.451, allocations: 0.5893 MB / 3.781 GB, free: 304 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/7.451, allocations: 0 / 3.781 GB, free: 304 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001211/7.452, allocations: 319.5 kB / 3.781 GB, free: 304 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.002971/7.455, allocations: 3.149 MB / 3.785 GB, free: 302.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005226/7.455, allocations: 236.2 kB / 3.785 GB, free: 302.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/7.455, allocations: 2.781 kB / 3.785 GB, free: 302.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/7.455, allocations: 44.91 kB / 3.785 GB, free: 302 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/7.457, allocations: 368.4 kB / 3.785 GB, free: 302 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005918/7.463, allocations: 8.499 MB / 3.793 GB, free: 295.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/7.463, allocations: 0.9548 MB / 3.794 GB, free: 295.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006426/7.464, allocations: 135 kB / 3.794 GB, free: 295.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/7.464, allocations: 230 kB / 3.795 GB, free: 295.2 MB / 1.167 GB Notification: Performance of SimCode: time 2.264e-06/7.464, allocations: 3.938 kB / 3.795 GB, free: 295.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06865/7.533, allocations: 43.5 MB / 3.837 GB, free: 269.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/7.533, allocations: 250.4 kB / 3.837 GB, free: 269.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.441/10.97, allocations: 0 / 3.837 GB, free: 269.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat does not exist to compare? outputFormat=mat