Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.353/2.353, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001339/0.001339, allocations: 180.9 kB / 496.1 MB, free: 12.86 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.781/1.781, allocations: 221.3 MB / 0.7915 GB, free: 5.34 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.001007/0.001006, allocations: 111 kB / 0.9318 GB, free: 5.652 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.879e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.352, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.277/6.63, allocations: 1.919 GB / 3.138 GB, free: 395.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/6.63, allocations: 87.95 kB / 3.138 GB, free: 395.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5017/7.132, allocations: 264.3 MB / 3.396 GB, free: 125.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.313e-06/7.132, allocations: 0 / 3.396 GB, free: 125.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.41e-05/7.132, allocations: 20 kB / 3.396 GB, free: 125.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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00136/7.133, allocations: 0.8033 MB / 3.397 GB, free: 124.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/7.133, allocations: 8.031 kB / 3.397 GB, free: 124.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.135e-05/7.133, allocations: 78.53 kB / 3.397 GB, free: 124.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/7.134, allocations: 167.2 kB / 3.397 GB, free: 124.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008835/7.135, allocations: 0.5118 MB / 3.397 GB, free: 124 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/7.135, allocations: 37 kB / 3.397 GB, free: 124 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.848e-05/7.135, allocations: 44 kB / 3.397 GB, free: 124 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/7.136, allocations: 498.1 kB / 3.398 GB, free: 123.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/7.136, allocations: 4 kB / 3.398 GB, free: 123.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/7.136, allocations: 23.94 kB / 3.398 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/7.136, allocations: 13 kB / 3.398 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005414/7.137, allocations: 387.9 kB / 3.398 GB, free: 123 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.00214/7.139, allocations: 1.732 MB / 3.4 GB, free: 121.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/7.139, allocations: 294.5 kB / 3.4 GB, free: 120.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/7.14, allocations: 177.8 kB / 3.4 GB, free: 120.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/7.14, allocations: 89.11 kB / 3.4 GB, free: 120.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/7.14, allocations: 46.55 kB / 3.401 GB, free: 120.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.033e-06/7.14, allocations: 0 / 3.401 GB, free: 120.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.001589/7.141, allocations: 0.9143 MB / 3.401 GB, free: 119.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/7.141, allocations: 59.39 kB / 3.401 GB, free: 119.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/7.142, allocations: 403.1 kB / 3.402 GB, free: 119.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/7.142, allocations: 37.7 kB / 3.402 GB, free: 119.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/7.142, allocations: 252.1 kB / 3.402 GB, free: 118.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.138e-05/7.142, allocations: 114.3 kB / 3.402 GB, free: 118.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/7.142, allocations: 8 kB / 3.402 GB, free: 118.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/7.142, allocations: 358.8 kB / 3.403 GB, free: 118.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/7.142, allocations: 116 kB / 3.403 GB, free: 118.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/7.143, allocations: 190.8 kB / 3.403 GB, free: 118 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/7.144, allocations: 0.5589 MB / 3.403 GB, free: 117.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/7.144, allocations: 4 kB / 3.403 GB, free: 117.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005259/7.145, allocations: 400.7 kB / 3.404 GB, free: 117 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/7.145, allocations: 9.406 kB / 3.404 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/7.145, allocations: 0 / 3.404 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/7.145, allocations: 4 kB / 3.404 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/7.145, allocations: 75.84 kB / 3.404 GB, free: 116.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/7.145, allocations: 4 kB / 3.404 GB, free: 116.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/7.145, allocations: 32.02 kB / 3.404 GB, free: 116.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/7.145, allocations: 19.98 kB / 3.404 GB, free: 116.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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0001053/7.146, allocations: 129.9 kB / 3.404 GB, free: 116.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-05/7.146, allocations: 51.38 kB / 3.404 GB, free: 116.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/7.146, allocations: 68.88 kB / 3.404 GB, free: 116.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/7.146, allocations: 4 kB / 3.404 GB, free: 116.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/7.146, allocations: 0 / 3.404 GB, free: 116.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004233/7.146, allocations: 400.5 kB / 3.405 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/7.148, allocations: 1.23 MB / 3.406 GB, free: 114.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/7.148, allocations: 8.031 kB / 3.406 GB, free: 114.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/7.148, allocations: 75.91 kB / 3.406 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/7.148, allocations: 7.953 kB / 3.406 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/7.148, allocations: 12 kB / 3.406 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/7.148, allocations: 11.98 kB / 3.406 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/7.148, allocations: 7.938 kB / 3.406 GB, free: 114.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/7.149, allocations: 0.8754 MB / 3.407 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/7.149, allocations: 168.5 kB / 3.407 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/7.149, allocations: 15.94 kB / 3.407 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/7.15, allocations: 31.88 kB / 3.407 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/7.15, allocations: 35.97 kB / 3.407 GB, free: 113.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/7.15, allocations: 19.98 kB / 3.407 GB, free: 113.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003183/7.15, allocations: 321.2 kB / 3.407 GB, free: 113.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/7.15, allocations: 0 / 3.407 GB, free: 113.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009644/7.151, allocations: 224 kB / 3.408 GB, free: 112.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.002326/7.154, allocations: 3.363 MB / 3.411 GB, free: 109.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004755/7.154, allocations: 305.2 kB / 3.411 GB, free: 109.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/7.154, allocations: 0 / 3.411 GB, free: 109.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/7.154, allocations: 155.8 kB / 3.411 GB, free: 109 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/7.156, allocations: 353.2 kB / 3.412 GB, free: 108.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/7.158, allocations: 1.001 MB / 3.413 GB, free: 107.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/7.158, allocations: 0.8981 MB / 3.413 GB, free: 106.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004969/7.158, allocations: 132.6 kB / 3.414 GB, free: 106.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/7.159, allocations: 167.4 kB / 3.414 GB, free: 106.3 MB / 1.167 GB Notification: Performance of SimCode: time 7.21e-07/7.159, allocations: 0 / 3.414 GB, free: 106.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04944/7.208, allocations: 32.19 MB / 3.445 GB, free: 74.38 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/7.208, allocations: 210.8 kB / 3.445 GB, free: 74.15 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/10.07, allocations: 0 / 3.445 GB, free: 74.15 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat does not exist to compare? outputFormat=mat