Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.239/2.239, allocations: 390.5 MB / 398 MB, free: 10.94 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.001113/0.001113, allocations: 188.8 kB / 491.2 MB, free: 1.547 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.387/1.387, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001086/0.001086, allocations: 95.52 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.437e-05/2.437e-05, allocations: 4.875 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2417, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.275/5.516, allocations: 1.932 GB / 3.145 GB, free: 395.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/5.517, allocations: 83.95 kB / 3.145 GB, free: 395.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.086/10.6, allocations: 1.344 GB / 4.489 GB, free: 192.4 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.653e-06/10.6, allocations: 2.969 kB / 4.489 GB, free: 192.4 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001667/10.6, allocations: 56.08 kB / 4.489 GB, free: 192.4 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.005971/10.61, allocations: 2.183 MB / 4.491 GB, free: 191.7 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/10.61, allocations: 11.09 kB / 4.491 GB, free: 191.7 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003521/10.61, allocations: 0.4957 MB / 4.491 GB, free: 191.6 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/10.62, allocations: 1.426 MB / 4.493 GB, free: 191.2 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/10.62, allocations: 120.6 kB / 4.493 GB, free: 191.2 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/10.62, allocations: 92.81 kB / 4.493 GB, free: 191.2 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002104/10.62, allocations: 1.176 MB / 4.494 GB, free: 191.2 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/10.62, allocations: 1.433 MB / 4.496 GB, free: 190.9 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/10.62, allocations: 7.219 kB / 4.496 GB, free: 190.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/10.62, allocations: 7.156 kB / 4.496 GB, free: 190.9 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/10.62, allocations: 52.83 kB / 4.496 GB, free: 190.9 MB / 1.182 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.009594/10.63, allocations: 7.963 MB / 4.503 GB, free: 186.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/10.63, allocations: 0.8256 MB / 4.504 GB, free: 186.1 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/10.63, allocations: 476.9 kB / 4.505 GB, free: 186.1 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005566/10.63, allocations: 321.4 kB / 4.505 GB, free: 185.9 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/10.63, allocations: 50.23 kB / 4.505 GB, free: 185.8 MB / 1.182 GB Notification: Performance of pre-optimization done (n=96): time 4.107e-06/10.63, allocations: 0 / 4.505 GB, free: 185.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=102): time 0.005684/10.64, allocations: 2.584 MB / 4.508 GB, free: 185.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/10.64, allocations: 63.34 kB / 4.508 GB, free: 185.2 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/10.64, allocations: 0.8777 MB / 4.508 GB, free: 185 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 8.221e-05/10.64, allocations: 29.33 kB / 4.508 GB, free: 185 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005388/10.64, allocations: 0.8259 MB / 4.509 GB, free: 184.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/10.64, allocations: 353.8 kB / 4.51 GB, free: 184.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/10.64, allocations: 3.094 kB / 4.51 GB, free: 184.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001171/10.64, allocations: 362.2 kB / 4.51 GB, free: 184.2 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005161/10.64, allocations: 372.2 kB / 4.51 GB, free: 184.2 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/10.64, allocations: 0.7596 MB / 4.511 GB, free: 183.8 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008182/10.64, allocations: 0.5449 MB / 4.512 GB, free: 183.8 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/10.64, allocations: 3.625 kB / 4.512 GB, free: 183.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001871/10.64, allocations: 1.263 MB / 4.513 GB, free: 183.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007653/10.65, allocations: 3.646 MB / 4.516 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/10.65, allocations: 7.344 kB / 4.516 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.511e-05/10.65, allocations: 18.84 kB / 4.516 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/10.65, allocations: 281.6 kB / 4.517 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/10.65, allocations: 20.19 kB / 4.517 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/10.65, allocations: 159.6 kB / 4.517 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/10.65, allocations: 51.14 kB / 4.517 GB, free: 179.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/10.65, allocations: 7.594 kB / 4.517 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001625/10.65, allocations: 1.058 MB / 4.518 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/10.65, allocations: 11.03 kB / 4.518 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/10.65, allocations: 15.25 kB / 4.518 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/10.65, allocations: 288.1 kB / 4.518 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/10.65, allocations: 24.91 kB / 4.518 GB, free: 179.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/10.65, allocations: 158.8 kB / 4.518 GB, free: 179.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.125e-05/10.65, allocations: 54.39 kB / 4.518 GB, free: 179.8 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.00028/10.65, allocations: 147.3 kB / 4.519 GB, free: 179.7 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001577/10.66, allocations: 0.9748 MB / 4.52 GB, free: 179.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/10.66, allocations: 159.9 kB / 4.52 GB, free: 179.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/10.66, allocations: 1.06 MB / 4.521 GB, free: 179.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/10.66, allocations: 11 kB / 4.521 GB, free: 179.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/10.66, allocations: 3.031 kB / 4.521 GB, free: 179.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/10.66, allocations: 1.01 MB / 4.522 GB, free: 179.1 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004345/10.66, allocations: 2.514 MB / 4.524 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/10.66, allocations: 3.844 kB / 4.524 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/10.66, allocations: 256.4 kB / 4.524 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/10.66, allocations: 7 kB / 4.524 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/10.66, allocations: 14.31 kB / 4.524 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/10.66, allocations: 3.844 kB / 4.524 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/10.66, allocations: 6.969 kB / 4.525 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/10.67, allocations: 1.733 MB / 4.526 GB, free: 178.3 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008499/10.67, allocations: 323.6 kB / 4.527 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/10.67, allocations: 10.69 kB / 4.527 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/10.67, allocations: 130.5 kB / 4.527 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/10.67, allocations: 67.09 kB / 4.527 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-05/10.67, allocations: 40.92 kB / 4.527 GB, free: 178.1 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0008926/10.67, allocations: 0.6682 MB / 4.527 GB, free: 178 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.5e-07/10.67, allocations: 0 / 4.527 GB, free: 178 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.002848/10.67, allocations: 0.9093 MB / 4.528 GB, free: 178 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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.007956/10.68, allocations: 5.985 MB / 4.534 GB, free: 175.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.002682/10.68, allocations: 1.568 MB / 4.536 GB, free: 175.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/10.68, allocations: 0 / 4.536 GB, free: 175.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0005977/10.68, allocations: 474.9 kB / 4.536 GB, free: 175.4 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004967/10.69, allocations: 0.8495 MB / 4.537 GB, free: 175.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006569/10.7, allocations: 3.115 MB / 4.54 GB, free: 174.5 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009448/10.7, allocations: 1.48 MB / 4.541 GB, free: 173.8 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002887/10.7, allocations: 0.6359 MB / 4.542 GB, free: 173.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008782/10.7, allocations: 0.6682 MB / 4.543 GB, free: 173.8 MB / 1.182 GB Notification: Performance of SimCode: time 1.443e-06/10.7, allocations: 2.844 kB / 4.543 GB, free: 173.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/10.82, allocations: 63.22 MB / 4.604 GB, free: 171.2 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003154/10.82, allocations: 171.2 kB / 4.605 GB, free: 171.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.339/15.16, allocations: 0 / 4.605 GB, free: 171.1 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat does not exist to compare? outputFormat=mat