Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.218/2.218, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001015/0.001015, allocations: 176.9 kB / 492.3 MB, free: 0.6367 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.493/1.493, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009203/0.0009205, allocations: 93.77 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.63e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3218, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.559/5.88, allocations: 1.918 GB / 3.13 GB, free: 412.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000369/5.881, allocations: 89.83 kB / 3.131 GB, free: 412.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5187/6.4, allocations: 264.3 MB / 3.389 GB, free: 143.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.943e-06/6.4, allocations: 4 kB / 3.389 GB, free: 143.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.037e-05/6.4, allocations: 19.92 kB / 3.389 GB, free: 143.2 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.001512/6.401, allocations: 0.7995 MB / 3.389 GB, free: 142.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/6.401, allocations: 11.97 kB / 3.389 GB, free: 142.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/6.401, allocations: 78.53 kB / 3.389 GB, free: 142.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/6.403, allocations: 183 kB / 3.39 GB, free: 142.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009422/6.404, allocations: 0.5002 MB / 3.39 GB, free: 141.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/6.404, allocations: 36.94 kB / 3.39 GB, free: 141.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.565e-05/6.404, allocations: 40 kB / 3.39 GB, free: 141.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007752/6.405, allocations: 0.4904 MB / 3.391 GB, free: 141 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/6.405, allocations: 0 / 3.391 GB, free: 141 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/6.405, allocations: 16 kB / 3.391 GB, free: 141 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/6.405, allocations: 20.95 kB / 3.391 GB, free: 141 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005817/6.405, allocations: 387.8 kB / 3.391 GB, free: 140.6 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.002272/6.408, allocations: 1.724 MB / 3.393 GB, free: 138.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/6.408, allocations: 290.7 kB / 3.393 GB, free: 138.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/6.408, allocations: 174.5 kB / 3.393 GB, free: 138.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001592/6.408, allocations: 105 kB / 3.393 GB, free: 138.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/6.409, allocations: 34.56 kB / 3.393 GB, free: 138.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/6.409, allocations: 4 kB / 3.393 GB, free: 138.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001642/6.41, allocations: 0.9221 MB / 3.394 GB, free: 137.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/6.41, allocations: 55.41 kB / 3.394 GB, free: 137 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/6.411, allocations: 403.1 kB / 3.395 GB, free: 136.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/6.411, allocations: 29.7 kB / 3.395 GB, free: 136.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/6.411, allocations: 260.1 kB / 3.395 GB, free: 136.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.006e-05/6.411, allocations: 114.3 kB / 3.395 GB, free: 136.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/6.411, allocations: 8 kB / 3.395 GB, free: 136.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.289e-05/6.411, allocations: 358.8 kB / 3.395 GB, free: 135.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/6.411, allocations: 120 kB / 3.396 GB, free: 135.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/6.411, allocations: 195.2 kB / 3.396 GB, free: 135.5 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.001351/6.413, allocations: 0.5599 MB / 3.396 GB, free: 135 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/6.413, allocations: 0 / 3.396 GB, free: 135 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005093/6.413, allocations: 416.5 kB / 3.397 GB, free: 134.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/6.413, allocations: 5.562 kB / 3.397 GB, free: 134.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/6.413, allocations: 4 kB / 3.397 GB, free: 134.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/6.413, allocations: 4 kB / 3.397 GB, free: 134.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/6.414, allocations: 67.91 kB / 3.397 GB, free: 134.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/6.414, allocations: 7.938 kB / 3.397 GB, free: 134.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/6.414, allocations: 36.06 kB / 3.397 GB, free: 134.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/6.414, allocations: 19.98 kB / 3.397 GB, free: 134.4 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.0001005/6.414, allocations: 124.9 kB / 3.397 GB, free: 134.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/6.414, allocations: 55.39 kB / 3.397 GB, free: 134.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/6.414, allocations: 60.89 kB / 3.397 GB, free: 134.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/6.414, allocations: 3.984 kB / 3.397 GB, free: 134.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/6.414, allocations: 4 kB / 3.397 GB, free: 134.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003849/6.415, allocations: 404.5 kB / 3.397 GB, free: 133.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/6.416, allocations: 1.233 MB / 3.399 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/6.416, allocations: 4.5 kB / 3.399 GB, free: 132.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/6.417, allocations: 75.91 kB / 3.399 GB, free: 132.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/6.417, allocations: 8 kB / 3.399 GB, free: 132.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/6.417, allocations: 11.95 kB / 3.399 GB, free: 132.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/6.417, allocations: 11.94 kB / 3.399 GB, free: 132.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/6.417, allocations: 4 kB / 3.399 GB, free: 132.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007073/6.417, allocations: 0.8754 MB / 3.4 GB, free: 131.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/6.418, allocations: 164.5 kB / 3.4 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.536e-05/6.418, allocations: 15.98 kB / 3.4 GB, free: 131 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/6.418, allocations: 27.92 kB / 3.4 GB, free: 131 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/6.418, allocations: 35.92 kB / 3.4 GB, free: 131 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/6.418, allocations: 20 kB / 3.4 GB, free: 131 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002723/6.419, allocations: 321.2 kB / 3.4 GB, free: 130.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/6.419, allocations: 0 / 3.4 GB, free: 130.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007466/6.419, allocations: 220 kB / 3.4 GB, free: 130.4 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.00226/6.422, allocations: 3.376 MB / 3.404 GB, free: 126.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004623/6.422, allocations: 304.6 kB / 3.404 GB, free: 126.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/6.422, allocations: 384 / 3.404 GB, free: 126.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/6.422, allocations: 159.7 kB / 3.404 GB, free: 126.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/6.424, allocations: 349.7 kB / 3.404 GB, free: 126.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/6.426, allocations: 1.004 MB / 3.405 GB, free: 125.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/6.426, allocations: 0.8903 MB / 3.406 GB, free: 124.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000507/6.426, allocations: 140.6 kB / 3.406 GB, free: 124 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/6.427, allocations: 171.4 kB / 3.407 GB, free: 123.8 MB / 1.151 GB Notification: Performance of SimCode: time 4.71e-07/6.427, allocations: 0 / 3.407 GB, free: 123.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04725/6.474, allocations: 32.18 MB / 3.438 GB, free: 91.89 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/6.474, allocations: 196 kB / 3.438 GB, free: 91.67 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.177/9.651, allocations: 4.062 kB / 3.438 GB, free: 91.66 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat does not exist to compare? outputFormat=mat