Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.741/1.741, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001077, allocations: 172.8 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 93.72 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005047/0.0005048, allocations: 13.56 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2569, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.8446/1.102, allocations: 166.5 MB / 1.063 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009278/1.111, allocations: 3.445 MB / 1.067 GB, free: 1.918 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/1.112, allocations: 17.88 kB / 1.067 GB, free: 1.918 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/1.114, allocations: 279.5 kB / 1.067 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004741/1.119, allocations: 0.989 MB / 1.068 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/1.121, allocations: 0.6227 MB / 1.069 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004584/1.126, allocations: 2.229 MB / 1.071 GB, free: 1.844 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/1.128, allocations: 423.5 kB / 1.071 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/1.13, allocations: 0.5173 MB / 1.072 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/1.132, allocations: 484.9 kB / 1.072 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/1.132, allocations: 21.62 kB / 1.072 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003632/1.135, allocations: 0.9496 MB / 1.073 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006319/1.136, allocations: 217.4 kB / 1.073 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008908/1.137, allocations: 337.5 kB / 1.074 GB, free: 1.746 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003555/1.141, allocations: 1.176 MB / 1.075 GB, free: 1.684 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/1.141, allocations: 0.7188 kB / 1.075 GB, free: 1.684 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.057e-06/1.141, allocations: 1.969 kB / 1.075 GB, free: 1.684 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.997e-05/1.141, allocations: 0.5625 kB / 1.075 GB, free: 1.684 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002751/1.143, allocations: 0.8047 MB / 1.076 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.622e-05/1.144, allocations: 12.08 kB / 1.076 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000225/1.144, allocations: 83.94 kB / 1.076 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/1.146, allocations: 185 kB / 1.076 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/1.147, allocations: 0.4968 MB / 1.076 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/1.147, allocations: 30.53 kB / 1.076 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/1.148, allocations: 45.34 kB / 1.076 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/1.149, allocations: 488.7 kB / 1.077 GB, free: 16.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/1.149, allocations: 0.7812 kB / 1.077 GB, free: 16.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/1.149, allocations: 20.53 kB / 1.077 GB, free: 16.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/1.15, allocations: 26.28 kB / 1.077 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/1.151, allocations: 413.9 kB / 1.077 GB, free: 16.72 MB / 0.7136 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.004844/1.156, allocations: 1.891 MB / 1.079 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/1.156, allocations: 217.5 kB / 1.079 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/1.156, allocations: 153.9 kB / 1.08 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/1.157, allocations: 93.69 kB / 1.08 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/1.157, allocations: 43.61 kB / 1.08 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 3.587e-06/1.157, allocations: 1.859 kB / 1.08 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.001268/1.158, allocations: 390.6 kB / 1.08 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/1.158, allocations: 59.16 kB / 1.08 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009592/1.159, allocations: 0.4961 MB / 1.081 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/1.159, allocations: 33.17 kB / 1.081 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/1.16, allocations: 283.4 kB / 1.081 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/1.16, allocations: 79.94 kB / 1.081 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/1.16, allocations: 5.312 kB / 1.081 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002231/1.16, allocations: 356.8 kB / 1.081 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/1.16, allocations: 112.3 kB / 1.081 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/1.161, allocations: 211.4 kB / 1.082 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006632/1.161, allocations: 327.2 kB / 1.082 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.161, allocations: 9.438 kB / 1.082 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001054/1.162, allocations: 391.6 kB / 1.082 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/1.163, allocations: 8.453 kB / 1.082 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.163, allocations: 2.625 kB / 1.082 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.658e-05/1.163, allocations: 7.156 kB / 1.082 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/1.163, allocations: 67.56 kB / 1.082 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/1.163, allocations: 7.75 kB / 1.082 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/1.164, allocations: 58.22 kB / 1.083 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/1.164, allocations: 14.66 kB / 1.083 GB, free: 14.65 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (39): * Single equations (assignments): 39 * 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.0004776/1.165, allocations: 213.8 kB / 1.083 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/1.165, allocations: 53.25 kB / 1.083 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/1.165, allocations: 53.03 kB / 1.083 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/1.165, allocations: 2.844 kB / 1.083 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.165, allocations: 1.438 kB / 1.083 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000629/1.166, allocations: 336.6 kB / 1.083 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/1.168, allocations: 0.9725 MB / 1.084 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/1.168, allocations: 5.969 kB / 1.084 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/1.168, allocations: 54.53 kB / 1.084 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/1.168, allocations: 2.25 kB / 1.084 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/1.168, allocations: 8 kB / 1.084 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/1.168, allocations: 10.25 kB / 1.084 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.168, allocations: 10.05 kB / 1.084 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/1.17, allocations: 0.5461 MB / 1.085 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/1.17, allocations: 170.4 kB / 1.085 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.17, allocations: 15.23 kB / 1.085 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007271/1.171, allocations: 38.55 kB / 1.085 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/1.171, allocations: 14.98 kB / 1.085 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.287e-05/1.171, allocations: 13.94 kB / 1.085 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007717/1.172, allocations: 371.6 kB / 1.085 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/1.172, allocations: 5.75 kB / 1.085 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001021/1.173, allocations: 155.9 kB / 1.085 GB, free: 13.52 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.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 (23): * Single equations (assignments): 23 * 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.001972/1.175, allocations: 1.162 MB / 1.087 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007768/1.176, allocations: 266.1 kB / 1.087 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.176, allocations: 1.031 kB / 1.087 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/1.176, allocations: 119.6 kB / 1.087 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/1.178, allocations: 339.8 kB / 1.087 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008775/1.187, allocations: 4.539 MB / 1.092 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007647/1.188, allocations: 0.8887 MB / 1.093 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009635/1.189, allocations: 130.6 kB / 1.093 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/1.189, allocations: 165.5 kB / 1.093 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of SimCode: time 1.412e-06/1.189, allocations: 0 / 1.093 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04505/1.234, allocations: 14.36 MB / 1.107 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004605/1.235, allocations: 267.7 kB / 1.107 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.746/3.981, allocations: 0 / 1.107 GB, free: 7.691 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)