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.237/2.237, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001279/0.001279, allocations: 176.9 kB / 487.4 MB, free: 5.035 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.552/1.552, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009114/0.0009116, allocations: 106.6 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.174e-05/2.176e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2806, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.887/6.168, allocations: 1.917 GB / 3.123 GB, free: 352.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/6.168, allocations: 84.55 kB / 3.123 GB, free: 352.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.487/6.655, allocations: 261.1 MB / 3.378 GB, free: 127.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.092e-06/6.655, allocations: 0 / 3.378 GB, free: 127.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.746e-05/6.655, allocations: 19.98 kB / 3.378 GB, free: 127.4 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.001235/6.656, allocations: 0.7998 MB / 3.379 GB, free: 126.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/6.656, allocations: 8.562 kB / 3.379 GB, free: 126.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/6.657, allocations: 179.1 kB / 3.379 GB, free: 126.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/6.658, allocations: 0.5083 MB / 3.38 GB, free: 125.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/6.658, allocations: 16 kB / 3.38 GB, free: 125.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/6.658, allocations: 24 kB / 3.38 GB, free: 125.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005222/6.659, allocations: 366.5 kB / 3.38 GB, free: 125.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/6.659, allocations: 444.2 kB / 3.381 GB, free: 125 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/6.659, allocations: 0 / 3.381 GB, free: 125 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/6.659, allocations: 3.953 kB / 3.381 GB, free: 125 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/6.659, allocations: 13.31 kB / 3.381 GB, free: 125 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.001949/6.661, allocations: 1.611 MB / 3.382 GB, free: 123.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/6.662, allocations: 276.6 kB / 3.383 GB, free: 123 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/6.662, allocations: 162.7 kB / 3.383 GB, free: 122.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/6.662, allocations: 109 kB / 3.383 GB, free: 122.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/6.662, allocations: 42.48 kB / 3.383 GB, free: 122.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/6.662, allocations: 3.938 kB / 3.383 GB, free: 122.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001398/6.664, allocations: 0.8631 MB / 3.384 GB, free: 121.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/6.664, allocations: 59.34 kB / 3.384 GB, free: 121.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/6.664, allocations: 290.3 kB / 3.384 GB, free: 121.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/6.664, allocations: 25.7 kB / 3.384 GB, free: 121.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/6.664, allocations: 260 kB / 3.384 GB, free: 121.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/6.664, allocations: 110.3 kB / 3.384 GB, free: 121 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/6.664, allocations: 4 kB / 3.384 GB, free: 121 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/6.664, allocations: 346.8 kB / 3.385 GB, free: 120.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/6.664, allocations: 120 kB / 3.385 GB, free: 120.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/6.665, allocations: 175.5 kB / 3.385 GB, free: 120.3 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.001307/6.666, allocations: 0.5471 MB / 3.386 GB, free: 119.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/6.666, allocations: 3.938 kB / 3.386 GB, free: 119.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004412/6.666, allocations: 361.1 kB / 3.386 GB, free: 119.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/6.666, allocations: 7.953 kB / 3.386 GB, free: 119.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/6.666, allocations: 4 kB / 3.386 GB, free: 119.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/6.666, allocations: 4 kB / 3.386 GB, free: 119.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/6.667, allocations: 75.89 kB / 3.386 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/6.667, allocations: 0 / 3.386 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/6.667, allocations: 39.83 kB / 3.386 GB, free: 119.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/6.667, allocations: 12 kB / 3.386 GB, free: 119.2 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 9.459e-05/6.667, allocations: 109.3 kB / 3.386 GB, free: 119.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000374/6.668, allocations: 313 kB / 3.386 GB, free: 118.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/6.668, allocations: 47.48 kB / 3.386 GB, free: 118.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/6.668, allocations: 48.69 kB / 3.387 GB, free: 118.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/6.668, allocations: 0 / 3.387 GB, free: 118.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/6.668, allocations: 7.938 kB / 3.387 GB, free: 118.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003392/6.668, allocations: 384.8 kB / 3.387 GB, free: 118.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/6.669, allocations: 1.14 MB / 3.388 GB, free: 117.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/6.669, allocations: 4 kB / 3.388 GB, free: 117.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/6.67, allocations: 76.39 kB / 3.388 GB, free: 117 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/6.67, allocations: 12 kB / 3.388 GB, free: 117 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/6.67, allocations: 7.953 kB / 3.388 GB, free: 117 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/6.67, allocations: 11.94 kB / 3.388 GB, free: 117 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/6.67, allocations: 4 kB / 3.388 GB, free: 117 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/6.671, allocations: 0.8367 MB / 3.389 GB, free: 116 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/6.671, allocations: 160.6 kB / 3.389 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/6.671, allocations: 8.062 kB / 3.389 GB, free: 115.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/6.671, allocations: 27.83 kB / 3.389 GB, free: 115.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/6.671, allocations: 31.92 kB / 3.389 GB, free: 115.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/6.671, allocations: 23.98 kB / 3.389 GB, free: 115.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001808/6.671, allocations: 228.5 kB / 3.389 GB, free: 115.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.671, allocations: 3.938 kB / 3.389 GB, free: 115.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007378/6.672, allocations: 188 kB / 3.39 GB, free: 115.3 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.002207/6.674, allocations: 3.471 MB / 3.393 GB, free: 111.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004256/6.675, allocations: 296.4 kB / 3.393 GB, free: 111.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/6.675, allocations: 0 / 3.393 GB, free: 111.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/6.675, allocations: 143.8 kB / 3.393 GB, free: 111.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/6.676, allocations: 256.3 kB / 3.394 GB, free: 111 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/6.678, allocations: 0.955 MB / 3.395 GB, free: 110 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/6.678, allocations: 0.89 MB / 3.395 GB, free: 109.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004184/6.679, allocations: 124.2 kB / 3.396 GB, free: 108.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/6.679, allocations: 167.4 kB / 3.396 GB, free: 108.8 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/6.679, allocations: 0 / 3.396 GB, free: 108.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04122/6.72, allocations: 19.06 MB / 3.414 GB, free: 89.82 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/6.721, allocations: 174.9 kB / 3.415 GB, free: 89.64 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/9.367, allocations: 0 / 3.415 GB, free: 89.64 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