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.316/2.316, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001124/0.001124, allocations: 176.9 kB / 492.3 MB, free: 0.6016 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.535/1.535, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009868/0.0009868, allocations: 99.83 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.475e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2727, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.721/5.993, allocations: 1.949 GB / 3.161 GB, free: 369.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/5.994, allocations: 88.59 kB / 3.161 GB, free: 369.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.744/7.738, allocations: 477.3 MB / 3.627 GB, free: 286.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.463e-06/7.738, allocations: 0 / 3.627 GB, free: 286.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001261/7.738, allocations: 29.17 kB / 3.628 GB, free: 286.9 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.004753/7.743, allocations: 1.49 MB / 3.629 GB, free: 286.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/7.743, allocations: 11.31 kB / 3.629 GB, free: 286.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003735/7.744, allocations: 112.7 kB / 3.629 GB, free: 286.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/7.746, allocations: 294 kB / 3.629 GB, free: 286.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/7.748, allocations: 0.8355 MB / 3.63 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/7.748, allocations: 54.94 kB / 3.63 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/7.748, allocations: 65 kB / 3.63 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/7.75, allocations: 0.9686 MB / 3.631 GB, free: 285.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/7.75, allocations: 0 / 3.631 GB, free: 285.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-05/7.75, allocations: 28.22 kB / 3.631 GB, free: 285.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.861e-05/7.75, allocations: 75.41 kB / 3.631 GB, free: 285.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/7.752, allocations: 0.9644 MB / 3.632 GB, free: 285.8 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.006018/7.758, allocations: 3.588 MB / 3.636 GB, free: 284.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009646/7.759, allocations: 0.6438 MB / 3.636 GB, free: 284.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/7.76, allocations: 368 kB / 3.637 GB, free: 284 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/7.76, allocations: 196 kB / 3.637 GB, free: 283.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/7.76, allocations: 38.56 kB / 3.637 GB, free: 283.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 3.076e-06/7.76, allocations: 0 / 3.637 GB, free: 283.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.001392/7.761, allocations: 0.7373 MB / 3.638 GB, free: 283.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/7.761, allocations: 116.2 kB / 3.638 GB, free: 283.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008242/7.762, allocations: 0.6998 MB / 3.638 GB, free: 283.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/7.762, allocations: 37.23 kB / 3.639 GB, free: 283 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/7.763, allocations: 419.3 kB / 3.639 GB, free: 282.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/7.763, allocations: 224.7 kB / 3.639 GB, free: 282.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/7.763, allocations: 11.91 kB / 3.639 GB, free: 282.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/7.763, allocations: 332.3 kB / 3.639 GB, free: 282.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/7.763, allocations: 318.4 kB / 3.64 GB, free: 282.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/7.764, allocations: 434.7 kB / 3.64 GB, free: 281.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/7.764, allocations: 388.1 kB / 3.641 GB, free: 281.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/7.764, allocations: 7.266 kB / 3.641 GB, free: 281.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001223/7.766, allocations: 0.8799 MB / 3.641 GB, free: 281.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/7.766, allocations: 0.6994 MB / 3.642 GB, free: 280.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/7.766, allocations: 2.562 kB / 3.642 GB, free: 280.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/7.766, allocations: 6.812 kB / 3.642 GB, free: 280.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/7.766, allocations: 145.4 kB / 3.642 GB, free: 280.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/7.766, allocations: 6.344 kB / 3.642 GB, free: 280.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009321/7.767, allocations: 120.9 kB / 3.642 GB, free: 280.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/7.768, allocations: 34.14 kB / 3.642 GB, free: 280.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/7.768, allocations: 3.781 kB / 3.642 GB, free: 280.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001059/7.769, allocations: 0.736 MB / 3.643 GB, free: 280.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/7.769, allocations: 3.594 kB / 3.643 GB, free: 280.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/7.769, allocations: 10.39 kB / 3.643 GB, free: 280.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000576/7.769, allocations: 143.2 kB / 3.643 GB, free: 280.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/7.769, allocations: 6.703 kB / 3.643 GB, free: 280.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/7.77, allocations: 97.17 kB / 3.643 GB, free: 280.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/7.77, allocations: 26.89 kB / 3.643 GB, free: 280.3 MB / 1.151 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 () * 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.0001714/7.77, allocations: 143.5 kB / 3.644 GB, free: 280.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/7.77, allocations: 100.8 kB / 3.644 GB, free: 280.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/7.772, allocations: 0.7935 MB / 3.644 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/7.772, allocations: 12.58 kB / 3.644 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/7.772, allocations: 0 / 3.644 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008261/7.772, allocations: 0.7236 MB / 3.645 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/7.775, allocations: 2.078 MB / 3.647 GB, free: 278.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/7.775, allocations: 3 kB / 3.647 GB, free: 278.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/7.776, allocations: 129.5 kB / 3.647 GB, free: 278.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/7.776, allocations: 9.594 kB / 3.647 GB, free: 278.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/7.776, allocations: 20.22 kB / 3.647 GB, free: 278.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/7.776, allocations: 17.91 kB / 3.647 GB, free: 278.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/7.776, allocations: 8.75 kB / 3.647 GB, free: 278.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/7.777, allocations: 1.504 MB / 3.649 GB, free: 277.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/7.778, allocations: 256.4 kB / 3.649 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/7.778, allocations: 20.53 kB / 3.649 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/7.779, allocations: 58.48 kB / 3.649 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/7.779, allocations: 53.2 kB / 3.649 GB, free: 277.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/7.779, allocations: 18.69 kB / 3.649 GB, free: 277.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006231/7.779, allocations: 0.549 MB / 3.65 GB, free: 277 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/7.779, allocations: 0 / 3.65 GB, free: 277 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002603/7.782, allocations: 0.9244 MB / 3.651 GB, free: 276.8 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.004884/7.787, allocations: 4.655 MB / 3.655 GB, free: 273.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001696/7.789, allocations: 1.162 MB / 3.656 GB, free: 273.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/7.789, allocations: 0 / 3.656 GB, free: 273.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004263/7.789, allocations: 358.7 kB / 3.657 GB, free: 273.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/7.791, allocations: 0.5007 MB / 3.657 GB, free: 273.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/7.795, allocations: 1.924 MB / 3.659 GB, free: 272.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/7.795, allocations: 1.097 MB / 3.66 GB, free: 271.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001453/7.797, allocations: 486.5 kB / 3.661 GB, free: 271.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/7.797, allocations: 323.6 kB / 3.661 GB, free: 271.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.172e-06/7.797, allocations: 0 / 3.661 GB, free: 271.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08832/7.886, allocations: 55.15 MB / 3.715 GB, free: 240.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/7.886, allocations: 211.8 kB / 3.715 GB, free: 240.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.071/11.96, allocations: 0 / 3.715 GB, free: 240.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