Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.197/2.197, allocations: 387.4 MB / 394.9 MB, free: 13.47 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.001259/0.001259, allocations: 176.8 kB / 487.4 MB, free: 5.062 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.545/1.545, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009364/0.0009365, allocations: 97.39 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.642e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2911, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.02/6.311, allocations: 1.948 GB / 3.154 GB, free: 338.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/6.312, allocations: 84.97 kB / 3.154 GB, free: 338.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.735/8.047, allocations: 472.1 MB / 3.615 GB, free: 298.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.225e-06/8.047, allocations: 6 kB / 3.615 GB, free: 298.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001585/8.047, allocations: 22.69 kB / 3.615 GB, free: 298.7 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.005436/8.052, allocations: 1.489 MB / 3.617 GB, free: 298 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/8.053, allocations: 11.12 kB / 3.617 GB, free: 298 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/8.055, allocations: 278.5 kB / 3.617 GB, free: 297.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/8.057, allocations: 0.8364 MB / 3.618 GB, free: 297.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.408e-05/8.058, allocations: 24.47 kB / 3.618 GB, free: 297.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003428/8.058, allocations: 38.31 kB / 3.618 GB, free: 297.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001807/8.06, allocations: 0.8598 MB / 3.619 GB, free: 297.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/8.062, allocations: 0.8727 MB / 3.62 GB, free: 297 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/8.062, allocations: 0 / 3.62 GB, free: 297 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-05/8.062, allocations: 0 / 3.62 GB, free: 297 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.662e-05/8.062, allocations: 71 kB / 3.62 GB, free: 297 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.006779/8.069, allocations: 3.424 MB / 3.623 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/8.07, allocations: 0.8692 MB / 3.624 GB, free: 294.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004534/8.07, allocations: 347.9 kB / 3.624 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/8.071, allocations: 197.3 kB / 3.624 GB, free: 294.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/8.071, allocations: 39.09 kB / 3.624 GB, free: 294.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 3.246e-06/8.071, allocations: 0 / 3.624 GB, free: 294.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.001758/8.072, allocations: 0.7091 MB / 3.625 GB, free: 293.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/8.072, allocations: 111.2 kB / 3.625 GB, free: 293.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/8.073, allocations: 0.5491 MB / 3.626 GB, free: 293.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.228e-05/8.073, allocations: 25.7 kB / 3.626 GB, free: 293.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/8.074, allocations: 430.2 kB / 3.626 GB, free: 293.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/8.074, allocations: 210.8 kB / 3.626 GB, free: 293 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/8.074, allocations: 0 / 3.626 GB, free: 293 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001464/8.074, allocations: 391 kB / 3.627 GB, free: 292.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/8.075, allocations: 289.6 kB / 3.627 GB, free: 292.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/8.075, allocations: 422.2 kB / 3.627 GB, free: 292.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/8.077, allocations: 0.6251 MB / 3.628 GB, free: 292.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/8.077, allocations: 0 / 3.628 GB, free: 292.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002272/8.079, allocations: 1.078 MB / 3.629 GB, free: 291.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002614/8.079, allocations: 0.8739 MB / 3.63 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/8.079, allocations: 6.219 kB / 3.63 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/8.079, allocations: 10.36 kB / 3.63 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/8.08, allocations: 153.3 kB / 3.63 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/8.08, allocations: 2.625 kB / 3.63 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/8.081, allocations: 89.59 kB / 3.63 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.625e-05/8.081, allocations: 28.28 kB / 3.63 GB, free: 290.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/8.081, allocations: 2.312 kB / 3.63 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001782/8.083, allocations: 0.8847 MB / 3.631 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/8.083, allocations: 0 / 3.631 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/8.083, allocations: 6.812 kB / 3.631 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/8.084, allocations: 150 kB / 3.631 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/8.084, allocations: 10.59 kB / 3.631 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/8.085, allocations: 81.94 kB / 3.631 GB, free: 290.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/8.085, allocations: 25.97 kB / 3.631 GB, free: 290.6 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.000195/8.085, allocations: 123.6 kB / 3.632 GB, free: 290.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00125/8.086, allocations: 0.6572 MB / 3.632 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/8.086, allocations: 81.59 kB / 3.632 GB, free: 290.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/8.088, allocations: 0.7222 MB / 3.633 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/8.088, allocations: 7.375 kB / 3.633 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/8.088, allocations: 0 / 3.633 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009408/8.089, allocations: 0.6928 MB / 3.634 GB, free: 289.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/8.092, allocations: 1.997 MB / 3.636 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/8.092, allocations: 3.906 kB / 3.636 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/8.093, allocations: 136.9 kB / 3.636 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/8.093, allocations: 6.094 kB / 3.636 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/8.093, allocations: 10.53 kB / 3.636 GB, free: 288.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/8.093, allocations: 9.078 kB / 3.636 GB, free: 288.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/8.093, allocations: 10.52 kB / 3.636 GB, free: 288.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/8.095, allocations: 1.411 MB / 3.637 GB, free: 287.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/8.095, allocations: 241.6 kB / 3.637 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/8.095, allocations: 3.906 kB / 3.637 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007541/8.096, allocations: 49.48 kB / 3.637 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/8.096, allocations: 49.55 kB / 3.637 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/8.096, allocations: 27.56 kB / 3.637 GB, free: 287.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005755/8.097, allocations: 427 kB / 3.638 GB, free: 287.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.81e-07/8.097, allocations: 7.75 kB / 3.638 GB, free: 287.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002954/8.1, allocations: 0.8579 MB / 3.639 GB, free: 286.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.006009/8.106, allocations: 4.749 MB / 3.643 GB, free: 284.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001828/8.108, allocations: 1.053 MB / 3.644 GB, free: 283.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/8.108, allocations: 0 / 3.644 GB, free: 283.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004418/8.108, allocations: 334.8 kB / 3.645 GB, free: 283.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/8.111, allocations: 437.1 kB / 3.645 GB, free: 283.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/8.116, allocations: 1.827 MB / 3.647 GB, free: 282.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/8.116, allocations: 1.1 MB / 3.648 GB, free: 281.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001796/8.118, allocations: 422.2 kB / 3.648 GB, free: 281.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/8.119, allocations: 326.8 kB / 3.649 GB, free: 281.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.392e-06/8.119, allocations: 0 / 3.649 GB, free: 281.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08198/8.201, allocations: 37.65 MB / 3.685 GB, free: 257.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/8.201, allocations: 190.3 kB / 3.686 GB, free: 257.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.218/11.42, allocations: 2.531 kB / 3.686 GB, free: 257.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat does not exist to compare? outputFormat=mat