Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.333/2.333, allocations: 390.5 MB / 398 MB, free: 10.96 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.001467/0.001467, allocations: 183.9 kB / 491.2 MB, free: 1.598 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.73/1.73, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001456/0.001456, allocations: 91.95 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.891e-05/1.893e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3329, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.278/6.611, allocations: 1.923 GB / 3.135 GB, free: 342.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/6.611, allocations: 86.8 kB / 3.135 GB, free: 342.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.195/8.806, allocations: 0.7554 GB / 3.89 GB, free: 26.32 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.202e-06/8.806, allocations: 0 / 3.89 GB, free: 26.32 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001521/8.807, allocations: 47.92 kB / 3.891 GB, free: 26.27 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003457/8.81, allocations: 1.536 MB / 3.892 GB, free: 24.69 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/8.81, allocations: 8.031 kB / 3.892 GB, free: 24.68 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/8.813, allocations: 485.7 kB / 3.892 GB, free: 24.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/8.816, allocations: 1.105 MB / 3.894 GB, free: 23.05 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/8.816, allocations: 40 kB / 3.894 GB, free: 23.02 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/8.816, allocations: 71.98 kB / 3.894 GB, free: 22.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001896/8.818, allocations: 0.9374 MB / 3.895 GB, free: 22 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/8.82, allocations: 1.046 MB / 3.896 GB, free: 20.92 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/8.82, allocations: 0 / 3.896 GB, free: 20.92 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/8.82, allocations: 0 / 3.896 GB, free: 20.92 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/8.821, allocations: 38.14 kB / 3.896 GB, free: 20.88 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.006465/8.827, allocations: 3.963 MB / 3.9 GB, free: 16.66 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/8.828, allocations: 0.7286 MB / 3.9 GB, free: 15.92 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005563/8.829, allocations: 441.7 kB / 3.901 GB, free: 15.49 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003814/8.829, allocations: 288.1 kB / 3.901 GB, free: 15.15 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/8.829, allocations: 51.34 kB / 3.901 GB, free: 15.09 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 2.134e-06/8.829, allocations: 0 / 3.901 GB, free: 15.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=89): time 0.004362/8.833, allocations: 2.099 MB / 3.903 GB, free: 12.94 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/8.833, allocations: 64.19 kB / 3.903 GB, free: 12.86 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007725/8.834, allocations: 0.5906 MB / 3.904 GB, free: 12.27 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/8.834, allocations: 25.7 kB / 3.904 GB, free: 12.24 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/8.835, allocations: 0.5504 MB / 3.904 GB, free: 11.68 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/8.835, allocations: 307.5 kB / 3.905 GB, free: 11.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/8.835, allocations: 0 / 3.905 GB, free: 11.38 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/8.835, allocations: 341.9 kB / 3.905 GB, free: 11.04 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/8.835, allocations: 314.5 kB / 3.905 GB, free: 10.73 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/8.836, allocations: 457.4 kB / 3.906 GB, free: 10.23 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: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004238/8.84, allocations: 2.174 MB / 3.908 GB, free: 8.016 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/8.84, allocations: 0 / 3.908 GB, free: 8.016 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001199/8.841, allocations: 0.8933 MB / 3.909 GB, free: 7.109 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/8.841, allocations: 4.375 kB / 3.909 GB, free: 7.105 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/8.841, allocations: 8 kB / 3.909 GB, free: 7.098 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/8.841, allocations: 8 kB / 3.909 GB, free: 7.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006894/8.842, allocations: 183.7 kB / 3.909 GB, free: 6.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/8.842, allocations: 11.88 kB / 3.909 GB, free: 6.898 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/8.843, allocations: 59.8 kB / 3.909 GB, free: 6.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/8.843, allocations: 39.98 kB / 3.909 GB, free: 6.801 MB / 1.151 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.000177/8.843, allocations: 132.7 kB / 3.909 GB, free: 6.664 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001167/8.845, allocations: 0.852 MB / 3.91 GB, free: 5.797 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/8.845, allocations: 114.7 kB / 3.91 GB, free: 5.684 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/8.845, allocations: 118.4 kB / 3.91 GB, free: 5.559 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/8.845, allocations: 8 kB / 3.91 GB, free: 5.551 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/8.845, allocations: 4 kB / 3.91 GB, free: 5.547 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/8.846, allocations: 1.014 MB / 3.911 GB, free: 4.461 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/8.85, allocations: 2.79 MB / 3.914 GB, free: 1.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/8.85, allocations: 11.98 kB / 3.914 GB, free: 1.488 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/8.85, allocations: 159.8 kB / 3.914 GB, free: 1.332 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002858/8.851, allocations: 106.3 kB / 3.914 GB, free: 1.223 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/8.851, allocations: 16 kB / 3.914 GB, free: 1.207 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6705/9.521, allocations: 2.803 MB / 3.917 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.919e-05/9.521, allocations: 13.25 kB / 3.917 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/9.525, allocations: 2.051 MB / 3.919 GB, free: 234 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/9.525, allocations: 281.6 kB / 3.919 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/9.526, allocations: 17.45 kB / 3.919 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009834/9.527, allocations: 54.88 kB / 3.919 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/9.527, allocations: 89.47 kB / 3.919 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.901e-05/9.527, allocations: 44.95 kB / 3.919 GB, free: 233.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006876/9.527, allocations: 465.8 kB / 3.92 GB, free: 233.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.51e-07/9.527, allocations: 0 / 3.92 GB, free: 233.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001686/9.529, allocations: 470 kB / 3.92 GB, free: 233.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005404/9.535, allocations: 6.973 MB / 3.927 GB, free: 229.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001343/9.536, allocations: 0.7517 MB / 3.928 GB, free: 229.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/9.536, allocations: 2.312 kB / 3.928 GB, free: 229.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/9.537, allocations: 0.6232 MB / 3.928 GB, free: 229.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003492/9.54, allocations: 0.6589 MB / 3.929 GB, free: 229.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004905/9.545, allocations: 2.489 MB / 3.931 GB, free: 228.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009484/9.546, allocations: 1.275 MB / 3.933 GB, free: 227.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001457/9.548, allocations: 301.5 kB / 3.933 GB, free: 227.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006039/9.548, allocations: 467.5 kB / 3.933 GB, free: 227.5 MB / 1.151 GB Notification: Performance of SimCode: time 9.01e-07/9.548, allocations: 2.188 kB / 3.933 GB, free: 227.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08543/9.634, allocations: 42.92 MB / 3.975 GB, free: 226.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/9.634, allocations: 184.5 kB / 3.975 GB, free: 226.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.446/13.08, allocations: 0 / 3.975 GB, free: 226.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat does not exist to compare? outputFormat=mat