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.001508/0.001508, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.294/1.294, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.668/1.668, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001428/0.001428, allocations: 69.17 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2411, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6727/0.9138, allocations: 242.4 MB / 1.02 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02118/0.935, allocations: 15.79 MB / 1.036 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003174/0.9382, allocations: 75 kB / 1.036 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00322/0.9415, allocations: 1.177 MB / 1.037 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009771/0.9513, allocations: 3.809 MB / 1.041 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004548/0.9559, allocations: 1.81 MB / 1.042 GB, free: 9.465 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00652/0.9624, allocations: 5.224 MB / 1.048 GB, free: 6.484 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00236/0.9648, allocations: 1.667 MB / 1.049 GB, free: 5.43 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005658/0.9704, allocations: 2.608 MB / 1.052 GB, free: 3.855 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.9742, allocations: 1.694 MB / 1.053 GB, free: 2.883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.00052/0.9747, allocations: 174.8 kB / 1.054 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006072/0.9808, allocations: 2.712 MB / 1.056 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.9819, allocations: 0.7636 MB / 1.057 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001766/0.9837, allocations: 1.147 MB / 1.058 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005937/0.9896, allocations: 3.56 MB / 1.062 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9897, allocations: 0 / 1.062 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9897, allocations: 0 / 1.062 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.946e-05/0.9897, allocations: 0 / 1.062 GB, free: 10.58 MB / 0.7794 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.004012/0.9937, allocations: 2.498 MB / 1.064 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.9938, allocations: 8.031 kB / 1.064 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002425/0.994, allocations: 223.1 kB / 1.064 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.9968, allocations: 0.5009 MB / 1.065 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.9989, allocations: 1.331 MB / 1.066 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.9991, allocations: 186.2 kB / 1.066 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.9993, allocations: 152 kB / 1.066 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/1.002, allocations: 1.733 MB / 1.068 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/1.002, allocations: 11.92 kB / 1.068 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/1.002, allocations: 64 kB / 1.068 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.193e-05/1.002, allocations: 58.7 kB / 1.068 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/1.004, allocations: 1.369 MB / 1.069 GB, free: 2.234 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.008719/1.013, allocations: 8.187 MB / 1.077 GB, free: 9.348 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/1.015, allocations: 0.9049 MB / 1.078 GB, free: 8.434 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/1.015, allocations: 0.5305 MB / 1.079 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000562/1.016, allocations: 320.2 kB / 1.079 GB, free: 7.535 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/1.016, allocations: 55.5 kB / 1.079 GB, free: 7.473 MB / 0.795 GB Notification: Performance of pre-optimization done (n=96): time 2.305e-06/1.016, allocations: 0 / 1.079 GB, free: 7.473 MB / 0.795 GB Notification: Performance of matching and sorting (n=102): time 0.006583/1.023, allocations: 3.102 MB / 1.082 GB, free: 4.316 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/1.023, allocations: 64.34 kB / 1.082 GB, free: 4.242 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/1.024, allocations: 1.261 MB / 1.084 GB, free: 2.973 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.541e-05/1.024, allocations: 49.7 kB / 1.084 GB, free: 2.918 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005449/1.025, allocations: 0.8015 MB / 1.084 GB, free: 2.109 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/1.025, allocations: 366.7 kB / 1.085 GB, free: 1.746 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/1.025, allocations: 222.8 kB / 1.085 GB, free: 1.523 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.026, allocations: 361.9 kB / 1.085 GB, free: 1.164 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000794/1.026, allocations: 445.8 kB / 1.086 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/1.028, allocations: 0.8301 MB / 1.087 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/1.029, allocations: 1.248 MB / 1.088 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.029, allocations: 4 kB / 1.088 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002336/1.032, allocations: 1.398 MB / 1.089 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.032, allocations: 8 kB / 1.089 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.032, allocations: 12 kB / 1.089 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/1.032, allocations: 16 kB / 1.089 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.033, allocations: 276.1 kB / 1.089 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/1.033, allocations: 27.86 kB / 1.089 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.034, allocations: 75.89 kB / 1.09 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/1.034, allocations: 54.3 kB / 1.09 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001358/1.036, allocations: 0.7679 MB / 1.09 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001117/1.037, allocations: 0.8274 MB / 1.091 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001872/1.039, allocations: 1.229 MB / 1.092 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.584e-06/1.039, allocations: 11.94 kB / 1.092 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002382/1.041, allocations: 1.383 MB / 1.094 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.041, allocations: 12 kB / 1.094 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.041, allocations: 8 kB / 1.094 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.041, allocations: 19.94 kB / 1.094 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.042, allocations: 267.6 kB / 1.094 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/1.042, allocations: 19.92 kB / 1.094 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.043, allocations: 86.12 kB / 1.094 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/1.044, allocations: 48 kB / 1.094 GB, free: 7.52 MB / 0.8106 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.0003355/1.044, allocations: 263.8 kB / 1.094 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/1.044, allocations: 166 kB / 1.095 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/1.046, allocations: 1.147 MB / 1.096 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.046, allocations: 16 kB / 1.096 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.046, allocations: 2 kB / 1.096 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001576/1.048, allocations: 1.075 MB / 1.097 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004252/1.052, allocations: 2.773 MB / 1.099 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.052, allocations: 4.219 kB / 1.099 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/1.053, allocations: 251.6 kB / 1.1 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/1.053, allocations: 8 kB / 1.1 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.988e-05/1.053, allocations: 27.98 kB / 1.1 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/1.053, allocations: 11.94 kB / 1.1 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.053, allocations: 3.938 kB / 1.1 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/1.056, allocations: 1.803 MB / 1.101 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/1.057, allocations: 338.9 kB / 1.102 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/1.057, allocations: 27.98 kB / 1.102 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009234/1.058, allocations: 54.48 kB / 1.102 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/1.058, allocations: 73.72 kB / 1.102 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.327e-05/1.058, allocations: 35.98 kB / 1.102 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001029/1.059, allocations: 0.8344 MB / 1.103 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/1.059, allocations: 4 kB / 1.103 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00174/1.061, allocations: 0.7578 MB / 1.104 GB, free: 13.66 MB / 0.8262 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.00335/1.064, allocations: 2.535 MB / 1.106 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002916/1.067, allocations: 1.732 MB / 1.108 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.067, allocations: 0.5625 kB / 1.108 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008088/1.068, allocations: 0.5209 MB / 1.108 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/1.072, allocations: 0.912 MB / 1.109 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/1.087, allocations: 11.93 MB / 1.121 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.089, allocations: 1.441 MB / 1.122 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001793/1.09, allocations: 0.5482 MB / 1.123 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008334/1.091, allocations: 0.6828 MB / 1.123 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of SimCode: time 9.62e-07/1.091, allocations: 4 kB / 1.123 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07318/1.164, allocations: 44.6 MB / 1.167 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.789/10.95, allocations: 11.97 kB / 1.167 GB, free: 12.8 MB / 0.8887 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)