Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.271/2.271, allocations: 390.5 MB / 398 MB, free: 10.98 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.001325/0.001325, allocations: 183.5 kB / 491.2 MB, free: 1.609 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.683/1.683, allocations: 221.5 MB / 0.7868 GB, free: 13.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.001138/0.001138, allocations: 86.89 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.017e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3551, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.873/6.228, allocations: 1.949 GB / 3.161 GB, free: 378.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/6.229, allocations: 87.95 kB / 3.161 GB, free: 378 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.615/7.844, allocations: 472.1 MB / 3.622 GB, free: 284.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.485e-06/7.844, allocations: 0 / 3.622 GB, free: 284.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001507/7.844, allocations: 29.19 kB / 3.623 GB, free: 284.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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005942/7.85, allocations: 1.485 MB / 3.624 GB, free: 283.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.628e-05/7.85, allocations: 14.53 kB / 3.624 GB, free: 283.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/7.854, allocations: 283.3 kB / 3.624 GB, free: 283.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/7.857, allocations: 0.8315 MB / 3.625 GB, free: 283.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-05/7.857, allocations: 24.88 kB / 3.625 GB, free: 283.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/7.857, allocations: 38.22 kB / 3.625 GB, free: 283.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002331/7.86, allocations: 0.8555 MB / 3.626 GB, free: 283.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/7.862, allocations: 0.8868 MB / 3.627 GB, free: 283.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/7.862, allocations: 0 / 3.627 GB, free: 283.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/7.862, allocations: 0 / 3.627 GB, free: 283.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/7.862, allocations: 69.59 kB / 3.627 GB, free: 283.3 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.008246/7.871, allocations: 3.416 MB / 3.63 GB, free: 282 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/7.872, allocations: 0.8674 MB / 3.631 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/7.873, allocations: 346 kB / 3.631 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/7.873, allocations: 202.1 kB / 3.632 GB, free: 281.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/7.873, allocations: 38.53 kB / 3.632 GB, free: 281.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 3.787e-06/7.873, allocations: 0 / 3.632 GB, free: 281.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.002208/7.875, allocations: 0.7053 MB / 3.632 GB, free: 281.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/7.875, allocations: 117.5 kB / 3.632 GB, free: 281.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/7.876, allocations: 0.5461 MB / 3.633 GB, free: 281.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.21e-05/7.877, allocations: 28.92 kB / 3.633 GB, free: 281.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/7.877, allocations: 423.5 kB / 3.633 GB, free: 280.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/7.877, allocations: 209.6 kB / 3.634 GB, free: 280.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/7.877, allocations: 0 / 3.634 GB, free: 280.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001291/7.877, allocations: 386.4 kB / 3.634 GB, free: 280.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/7.878, allocations: 297.4 kB / 3.634 GB, free: 280.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/7.879, allocations: 416.1 kB / 3.635 GB, free: 280.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/7.881, allocations: 0.6215 MB / 3.635 GB, free: 280.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/7.881, allocations: 0 / 3.635 GB, free: 280.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003082/7.884, allocations: 1.081 MB / 3.636 GB, free: 280.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002091/7.884, allocations: 0.8793 MB / 3.637 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/7.884, allocations: 3.5 kB / 3.637 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/7.884, allocations: 3.031 kB / 3.637 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009901/7.885, allocations: 153.4 kB / 3.637 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/7.885, allocations: 6.688 kB / 3.637 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/7.887, allocations: 85.69 kB / 3.637 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/7.887, allocations: 32.31 kB / 3.637 GB, free: 279.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/7.887, allocations: 3.469 kB / 3.637 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002466/7.889, allocations: 0.8853 MB / 3.638 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/7.889, allocations: 3.625 kB / 3.638 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/7.889, allocations: 6.125 kB / 3.638 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009213/7.89, allocations: 146.6 kB / 3.638 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/7.89, allocations: 7.375 kB / 3.638 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/7.891, allocations: 71.25 kB / 3.639 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/7.892, allocations: 29.22 kB / 3.639 GB, free: 279.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0002213/7.892, allocations: 125 kB / 3.639 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001618/7.893, allocations: 0.6549 MB / 3.639 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/7.894, allocations: 87.88 kB / 3.639 GB, free: 279.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/7.896, allocations: 0.728 MB / 3.64 GB, free: 279.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/7.896, allocations: 6.875 kB / 3.64 GB, free: 279.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/7.896, allocations: 0 / 3.64 GB, free: 279.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001271/7.897, allocations: 0.6982 MB / 3.641 GB, free: 278.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005084/7.902, allocations: 1.999 MB / 3.643 GB, free: 278.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.192e-05/7.902, allocations: 5.844 kB / 3.643 GB, free: 278.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/7.903, allocations: 131.4 kB / 3.643 GB, free: 278.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.461e-05/7.903, allocations: 10.31 kB / 3.643 GB, free: 278.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-05/7.903, allocations: 11.22 kB / 3.643 GB, free: 278.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/7.903, allocations: 5.938 kB / 3.643 GB, free: 278.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/7.903, allocations: 3 kB / 3.643 GB, free: 278.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/7.906, allocations: 1.412 MB / 3.644 GB, free: 277.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000803/7.907, allocations: 248.5 kB / 3.645 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003347/7.907, allocations: 3.938 kB / 3.645 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/7.909, allocations: 42.95 kB / 3.645 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/7.909, allocations: 46.92 kB / 3.645 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-05/7.909, allocations: 29.64 kB / 3.645 GB, free: 277.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000946/7.91, allocations: 430.2 kB / 3.645 GB, free: 277 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.9e-07/7.91, allocations: 0 / 3.645 GB, free: 277 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003845/7.914, allocations: 0.8654 MB / 3.646 GB, free: 276.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.007389/7.921, allocations: 4.743 MB / 3.651 GB, free: 274.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00249/7.924, allocations: 1.05 MB / 3.652 GB, free: 273.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/7.924, allocations: 2.734 kB / 3.652 GB, free: 273.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006271/7.924, allocations: 330.1 kB / 3.652 GB, free: 273.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/7.928, allocations: 439.4 kB / 3.652 GB, free: 273.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/7.933, allocations: 1.819 MB / 3.654 GB, free: 272.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008386/7.934, allocations: 1.093 MB / 3.655 GB, free: 272 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002577/7.937, allocations: 429.2 kB / 3.656 GB, free: 272 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006404/7.937, allocations: 328 kB / 3.656 GB, free: 271.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.52e-07/7.937, allocations: 0 / 3.656 GB, free: 271.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09392/8.031, allocations: 37.64 MB / 3.693 GB, free: 266.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/8.032, allocations: 194.7 kB / 3.693 GB, free: 266.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.162/11.19, allocations: 0 / 3.693 GB, free: 266.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat does not exist to compare? outputFormat=mat