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.276/2.276, allocations: 390.5 MB / 398 MB, free: 10.99 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.001307/0.001307, allocations: 183.9 kB / 491.2 MB, free: 1.613 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.736/1.736, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009799/0.0009799, allocations: 95.5 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.254e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.339, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.288/6.627, allocations: 1.918 GB / 3.13 GB, free: 344.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/6.627, allocations: 87.47 kB / 3.131 GB, free: 344.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5111/7.138, allocations: 261.1 MB / 3.386 GB, free: 102.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.693e-06/7.139, allocations: 0 / 3.386 GB, free: 102.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.986e-05/7.139, allocations: 23.92 kB / 3.386 GB, free: 102.5 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001879/7.141, allocations: 0.7959 MB / 3.386 GB, free: 101.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/7.141, allocations: 12.03 kB / 3.386 GB, free: 101.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/7.142, allocations: 167.2 kB / 3.387 GB, free: 101.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/7.143, allocations: 0.5121 MB / 3.387 GB, free: 101 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/7.143, allocations: 16 kB / 3.387 GB, free: 101 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/7.143, allocations: 24 kB / 3.387 GB, free: 100.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006825/7.144, allocations: 366.4 kB / 3.387 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/7.145, allocations: 436.2 kB / 3.388 GB, free: 100.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/7.145, allocations: 11.94 kB / 3.388 GB, free: 100.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/7.145, allocations: 0 / 3.388 GB, free: 100.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/7.145, allocations: 17.31 kB / 3.388 GB, free: 100.1 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.002405/7.147, allocations: 1.615 MB / 3.389 GB, free: 98.37 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/7.148, allocations: 286.6 kB / 3.39 GB, free: 98.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/7.148, allocations: 166 kB / 3.39 GB, free: 97.92 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/7.148, allocations: 105.1 kB / 3.39 GB, free: 97.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/7.148, allocations: 30.56 kB / 3.39 GB, free: 97.76 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/7.148, allocations: 4 kB / 3.39 GB, free: 97.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001696/7.15, allocations: 0.8636 MB / 3.391 GB, free: 96.84 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/7.15, allocations: 55.41 kB / 3.391 GB, free: 96.77 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/7.15, allocations: 290.3 kB / 3.391 GB, free: 96.48 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/7.15, allocations: 25.7 kB / 3.391 GB, free: 96.45 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/7.15, allocations: 260 kB / 3.391 GB, free: 96.19 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/7.15, allocations: 110.3 kB / 3.392 GB, free: 96.08 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/7.15, allocations: 0 / 3.392 GB, free: 96.08 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.607e-05/7.15, allocations: 346.8 kB / 3.392 GB, free: 95.73 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/7.151, allocations: 127.9 kB / 3.392 GB, free: 95.61 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/7.151, allocations: 178.8 kB / 3.392 GB, free: 95.41 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/7.152, allocations: 0.5444 MB / 3.393 GB, free: 94.85 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/7.152, allocations: 0 / 3.393 GB, free: 94.85 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004697/7.153, allocations: 376.6 kB / 3.393 GB, free: 94.47 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/7.153, allocations: 4 kB / 3.393 GB, free: 94.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/7.153, allocations: 4 kB / 3.393 GB, free: 94.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/7.153, allocations: 4.047 kB / 3.393 GB, free: 94.46 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/7.153, allocations: 80.08 kB / 3.393 GB, free: 94.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/7.153, allocations: 0 / 3.393 GB, free: 94.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/7.153, allocations: 31.75 kB / 3.393 GB, free: 94.35 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/7.154, allocations: 19.94 kB / 3.393 GB, free: 94.33 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: 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.0001067/7.154, allocations: 112.9 kB / 3.393 GB, free: 94.21 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003957/7.154, allocations: 317 kB / 3.394 GB, free: 93.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/7.154, allocations: 43.53 kB / 3.394 GB, free: 93.86 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/7.154, allocations: 44.69 kB / 3.394 GB, free: 93.81 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/7.154, allocations: 4 kB / 3.394 GB, free: 93.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/7.154, allocations: 0 / 3.394 GB, free: 93.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003467/7.155, allocations: 384.8 kB / 3.394 GB, free: 93.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/7.156, allocations: 1.141 MB / 3.395 GB, free: 92.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/7.156, allocations: 4 kB / 3.395 GB, free: 92.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/7.157, allocations: 75.89 kB / 3.395 GB, free: 92.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/7.157, allocations: 11.95 kB / 3.395 GB, free: 92.07 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/7.157, allocations: 4 kB / 3.395 GB, free: 92.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-06/7.157, allocations: 7.938 kB / 3.395 GB, free: 92.06 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/7.157, allocations: 8.469 kB / 3.395 GB, free: 92.05 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/7.157, allocations: 0.8403 MB / 3.396 GB, free: 91.05 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/7.158, allocations: 160.6 kB / 3.396 GB, free: 90.88 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.892e-05/7.158, allocations: 4 kB / 3.396 GB, free: 90.87 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/7.158, allocations: 31.89 kB / 3.396 GB, free: 90.84 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/7.158, allocations: 31.86 kB / 3.396 GB, free: 90.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/7.158, allocations: 23.98 kB / 3.396 GB, free: 90.79 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002001/7.158, allocations: 224.6 kB / 3.397 GB, free: 90.57 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/7.158, allocations: 0 / 3.397 GB, free: 90.57 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007635/7.159, allocations: 192 kB / 3.397 GB, free: 90.38 MB / 1.151 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.002425/7.162, allocations: 3.459 MB / 3.4 GB, free: 86.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004634/7.162, allocations: 284.6 kB / 3.4 GB, free: 86.52 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/7.162, allocations: 384 / 3.4 GB, free: 86.52 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/7.162, allocations: 155.6 kB / 3.401 GB, free: 86.37 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/7.164, allocations: 248.3 kB / 3.401 GB, free: 86.13 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/7.165, allocations: 0.9551 MB / 3.402 GB, free: 85.09 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/7.166, allocations: 0.89 MB / 3.403 GB, free: 84.18 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004948/7.166, allocations: 124.1 kB / 3.403 GB, free: 84.05 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/7.166, allocations: 171.3 kB / 3.403 GB, free: 83.89 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/7.166, allocations: 0 / 3.403 GB, free: 83.89 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04716/7.214, allocations: 19.05 MB / 3.421 GB, free: 64.95 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/7.214, allocations: 192.9 kB / 3.422 GB, free: 64.75 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/9.776, allocations: 1.875 kB / 3.422 GB, free: 64.75 MB / 1.151 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