Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007956/0.0007955, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005391/0.005391, allocations: 169.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004862, allocations: 15.89 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1962, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5937/0.7899, allocations: 237.2 MB / 1.02 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01955/0.8094, allocations: 15.81 MB / 1.035 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.8115, allocations: 70.66 kB / 1.035 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002435/0.814, allocations: 1.019 MB / 1.036 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008104/0.8221, allocations: 3.597 MB / 1.04 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.8256, allocations: 1.598 MB / 1.041 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006005/0.8316, allocations: 7.398 MB / 1.048 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.8331, allocations: 1.384 MB / 1.05 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003549/0.8366, allocations: 2.296 MB / 1.052 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.839, allocations: 1.721 MB / 1.054 GB, free: 11 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.8392, allocations: 85.28 kB / 1.054 GB, free: 11 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004415/0.8436, allocations: 3.138 MB / 1.057 GB, free: 8.508 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005885/0.8442, allocations: 0.6659 MB / 1.058 GB, free: 7.84 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0009263/0.8451, allocations: 1.063 MB / 1.059 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003316/0.8485, allocations: 3.586 MB / 1.062 GB, free: 3.168 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.8485, allocations: 0 / 1.062 GB, free: 3.168 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.582e-06/0.8485, allocations: 3.938 kB / 1.062 GB, free: 3.164 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.8485, allocations: 0 / 1.062 GB, free: 3.164 MB / 0.7637 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.003155/0.8517, allocations: 2.105 MB / 1.064 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.8517, allocations: 16.02 kB / 1.064 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002328/0.8519, allocations: 211.1 kB / 1.064 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.8546, allocations: 0.5009 MB / 1.065 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.8563, allocations: 1.265 MB / 1.066 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.8565, allocations: 182.2 kB / 1.066 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.8567, allocations: 152 kB / 1.066 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.8592, allocations: 1.745 MB / 1.068 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.8592, allocations: 7.938 kB / 1.068 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.8594, allocations: 64 kB / 1.068 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.965e-05/0.8594, allocations: 58.69 kB / 1.068 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.8618, allocations: 1.392 MB / 1.07 GB, free: 11.26 MB / 0.7794 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.007572/0.8693, allocations: 8.187 MB / 1.078 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.8707, allocations: 0.9163 MB / 1.078 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008402/0.8716, allocations: 0.5459 MB / 1.079 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/0.8722, allocations: 336.5 kB / 1.079 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.8722, allocations: 47.5 kB / 1.079 GB, free: 472 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=96): time 1.993e-06/0.8722, allocations: 0 / 1.079 GB, free: 472 kB / 0.7794 GB Notification: Performance of matching and sorting (n=102): time 0.006188/0.8784, allocations: 3.158 MB / 1.082 GB, free: 13.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.8785, allocations: 64.34 kB / 1.082 GB, free: 13.18 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.8798, allocations: 1.257 MB / 1.084 GB, free: 11.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/0.8799, allocations: 49.7 kB / 1.084 GB, free: 11.86 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005196/0.8804, allocations: 0.8015 MB / 1.085 GB, free: 11.05 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.8807, allocations: 374.6 kB / 1.085 GB, free: 10.68 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.8808, allocations: 101.7 kB / 1.085 GB, free: 10.57 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.8809, allocations: 357.9 kB / 1.085 GB, free: 10.22 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007963/0.8817, allocations: 446.4 kB / 1.086 GB, free: 9.781 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.8828, allocations: 0.8352 MB / 1.087 GB, free: 8.777 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.8846, allocations: 1.268 MB / 1.088 GB, free: 7.387 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.8846, allocations: 8 kB / 1.088 GB, free: 7.379 MB / 0.795 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002229/0.8868, allocations: 1.417 MB / 1.089 GB, free: 5.953 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/0.887, allocations: 366.1 kB / 1.09 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.887, allocations: 8 kB / 1.09 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.8871, allocations: 16 kB / 1.09 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.8881, allocations: 279.6 kB / 1.09 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/0.8882, allocations: 19.94 kB / 1.09 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.8895, allocations: 174.3 kB / 1.09 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/0.8896, allocations: 56.69 kB / 1.09 GB, free: 4.93 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/0.8896, allocations: 10.75 kB / 1.09 GB, free: 4.922 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00197/0.8916, allocations: 1.238 MB / 1.091 GB, free: 3.684 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.8916, allocations: 8 kB / 1.091 GB, free: 3.676 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8916, allocations: 16 kB / 1.091 GB, free: 3.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.8927, allocations: 280.2 kB / 1.092 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.8927, allocations: 23.92 kB / 1.092 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.894, allocations: 162.5 kB / 1.092 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/0.8941, allocations: 56 kB / 1.092 GB, free: 3.152 MB / 0.795 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005755/0.8946, allocations: 0.5006 MB / 1.092 GB, free: 2.641 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.8948, allocations: 166 kB / 1.092 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.8969, allocations: 1.174 MB / 1.094 GB, free: 1.293 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.8969, allocations: 8 kB / 1.094 GB, free: 1.285 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.8969, allocations: 0 / 1.094 GB, free: 1.285 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001606/0.8985, allocations: 1.095 MB / 1.095 GB, free: 140 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.9025, allocations: 2.793 MB / 1.097 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.9025, allocations: 4 kB / 1.097 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.9037, allocations: 259.8 kB / 1.098 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.9037, allocations: 4 kB / 1.098 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/0.9038, allocations: 35.92 kB / 1.098 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.9038, allocations: 4 kB / 1.098 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9038, allocations: 4 kB / 1.098 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.9065, allocations: 1.836 MB / 1.1 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.9069, allocations: 339 kB / 1.1 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.9071, allocations: 27.94 kB / 1.1 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.9083, allocations: 147.6 kB / 1.1 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.9084, allocations: 68.94 kB / 1.1 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.9085, allocations: 35.98 kB / 1.1 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009409/0.9094, allocations: 0.8345 MB / 1.101 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9094, allocations: 192 / 1.101 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001617/0.911, allocations: 0.7695 MB / 1.102 GB, free: 8.855 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003286/0.9143, allocations: 2.555 MB / 1.104 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002708/0.9171, allocations: 1.756 MB / 1.106 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.9171, allocations: 0 / 1.106 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008272/0.9179, allocations: 0.5295 MB / 1.106 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004616/0.9225, allocations: 0.9687 MB / 1.107 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/0.9397, allocations: 13.88 MB / 1.121 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009096/0.9406, allocations: 1.441 MB / 1.122 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001749/0.9424, allocations: 0.5563 MB / 1.123 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000796/0.9432, allocations: 0.675 MB / 1.124 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.9432, allocations: 0 / 1.124 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6038/1.547, allocations: 43.3 MB / 1.166 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/1.547, allocations: 239.5 kB / 1.166 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/4.237, allocations: 0 / 1.166 GB, free: 6.684 MB / 0.8731 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)