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.368/2.368, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001176/0.001176, allocations: 172 kB / 0.4901 GB, free: 2.266 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.94/1.94, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0008808/0.000881, allocations: 96.31 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004233, allocations: 7 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3614, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.245/5.606, allocations: 1.95 GB / 3.179 GB, free: 3.684 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/5.607, allocations: 90.27 kB / 3.179 GB, free: 3.637 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.566/8.172, allocations: 477.7 MB / 3.646 GB, free: 296.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.256e-06/8.173, allocations: 0.75 kB / 3.646 GB, free: 296.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001219/8.173, allocations: 28.25 kB / 3.646 GB, free: 296.1 MB / 1.167 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.007547/8.18, allocations: 1.625 MB / 3.647 GB, free: 295.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 9.066e-05/8.18, allocations: 10.23 kB / 3.647 GB, free: 295.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005269/8.181, allocations: 123.2 kB / 3.647 GB, free: 295.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/8.183, allocations: 283.2 kB / 3.648 GB, free: 295.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/8.186, allocations: 0.8422 MB / 3.648 GB, free: 295.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/8.186, allocations: 55.86 kB / 3.648 GB, free: 295.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/8.187, allocations: 64.2 kB / 3.649 GB, free: 295.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/8.189, allocations: 0.9749 MB / 3.649 GB, free: 295.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/8.189, allocations: 1.094 kB / 3.649 GB, free: 295.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/8.189, allocations: 27.03 kB / 3.649 GB, free: 295.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/8.189, allocations: 74.69 kB / 3.65 GB, free: 295.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/8.192, allocations: 0.9873 MB / 3.651 GB, free: 295.2 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.007997/8.2, allocations: 3.594 MB / 3.654 GB, free: 293.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/8.201, allocations: 0.6523 MB / 3.655 GB, free: 293.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/8.202, allocations: 193.5 kB / 3.655 GB, free: 293.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/8.202, allocations: 41.31 kB / 3.655 GB, free: 293.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 5.33e-06/8.202, allocations: 0.9375 kB / 3.655 GB, free: 293.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.002657/8.204, allocations: 1.022 MB / 3.656 GB, free: 293.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/8.204, allocations: 113 kB / 3.656 GB, free: 293.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/8.206, allocations: 0.7106 MB / 3.657 GB, free: 293.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/8.206, allocations: 39.27 kB / 3.657 GB, free: 293.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/8.206, allocations: 418.9 kB / 3.657 GB, free: 293.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/8.206, allocations: 222.4 kB / 3.657 GB, free: 293.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/8.206, allocations: 13.47 kB / 3.657 GB, free: 293.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001186/8.207, allocations: 337.9 kB / 3.658 GB, free: 292.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006631/8.207, allocations: 317.4 kB / 3.658 GB, free: 292.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/8.208, allocations: 444.9 kB / 3.658 GB, free: 292.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/8.209, allocations: 390.7 kB / 3.659 GB, free: 292.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/8.209, allocations: 1.125 kB / 3.659 GB, free: 292.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00162/8.211, allocations: 0.8906 MB / 3.66 GB, free: 292.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002072/8.211, allocations: 0.7107 MB / 3.66 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/8.211, allocations: 0 / 3.66 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/8.211, allocations: 6.719 kB / 3.66 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000715/8.212, allocations: 145 kB / 3.66 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/8.212, allocations: 6.641 kB / 3.66 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/8.213, allocations: 117 kB / 3.661 GB, free: 291.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-05/8.213, allocations: 31.05 kB / 3.661 GB, free: 291.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/8.213, allocations: 4 kB / 3.661 GB, free: 291.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001349/8.214, allocations: 0.7477 MB / 3.661 GB, free: 291.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/8.214, allocations: 4.938 kB / 3.661 GB, free: 291.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/8.214, allocations: 7.594 kB / 3.661 GB, free: 291.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/8.215, allocations: 147.5 kB / 3.662 GB, free: 291.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/8.215, allocations: 4.969 kB / 3.662 GB, free: 291.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008357/8.216, allocations: 109.9 kB / 3.662 GB, free: 291.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.883e-05/8.216, allocations: 23.53 kB / 3.662 GB, free: 291.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0006052/8.216, allocations: 370.3 kB / 3.662 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/8.217, allocations: 88.66 kB / 3.662 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/8.218, allocations: 0.8106 MB / 3.663 GB, free: 291.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/8.218, allocations: 7.25 kB / 3.663 GB, free: 291.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/8.218, allocations: 3.094 kB / 3.663 GB, free: 291.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/8.219, allocations: 0.7419 MB / 3.664 GB, free: 291.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/8.223, allocations: 2.086 MB / 3.666 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/8.223, allocations: 5.875 kB / 3.666 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007462/8.224, allocations: 129.9 kB / 3.666 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/8.224, allocations: 6.219 kB / 3.666 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.953e-05/8.224, allocations: 22.55 kB / 3.666 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/8.224, allocations: 9.094 kB / 3.666 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/8.224, allocations: 10.36 kB / 3.666 GB, free: 290.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/8.226, allocations: 1.515 MB / 3.667 GB, free: 290.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/8.227, allocations: 262 kB / 3.668 GB, free: 290.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/8.227, allocations: 12.09 kB / 3.668 GB, free: 290.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007026/8.227, allocations: 54.09 kB / 3.668 GB, free: 290.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/8.228, allocations: 50.06 kB / 3.668 GB, free: 290.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.682e-05/8.228, allocations: 25 kB / 3.668 GB, free: 290.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000929/8.229, allocations: 0.5515 MB / 3.668 GB, free: 290.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.81e-07/8.229, allocations: 0 / 3.668 GB, free: 290.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003844/8.232, allocations: 0.9332 MB / 3.669 GB, free: 290.1 MB / 1.167 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 () * Number of clocked 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.006207/8.239, allocations: 4.67 MB / 3.674 GB, free: 287.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002083/8.241, allocations: 1.144 MB / 3.675 GB, free: 287.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/8.241, allocations: 3.844 kB / 3.675 GB, free: 287.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004888/8.241, allocations: 367.4 kB / 3.675 GB, free: 287.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/8.244, allocations: 0.5016 MB / 3.676 GB, free: 287.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006007/8.25, allocations: 4.241 MB / 3.68 GB, free: 285.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/8.251, allocations: 1.09 MB / 3.681 GB, free: 284.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001577/8.252, allocations: 411.1 kB / 3.681 GB, free: 284.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/8.253, allocations: 338.8 kB / 3.682 GB, free: 284.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.282e-06/8.253, allocations: 0 / 3.682 GB, free: 284.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09297/8.346, allocations: 49.91 MB / 3.73 GB, free: 283.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/8.346, allocations: 257.5 kB / 3.731 GB, free: 283.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.003/12.35, allocations: 0 / 3.731 GB, free: 283.6 MB / 1.167 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