Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.841/1.841, allocations: 288.2 MB / 303.2 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 173.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.4 MB / 0.6305 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009798/0.00098, allocations: 89.09 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004701, allocations: 11.81 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2521, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.7839/1.036, allocations: 164.9 MB / 1.14 GB, free: 15.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01669/1.053, allocations: 9.304 MB / 1.15 GB, free: 9.887 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/1.056, allocations: 47.19 kB / 1.15 GB, free: 9.867 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002475/1.058, allocations: 0.523 MB / 1.15 GB, free: 9.418 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007819/1.066, allocations: 1.701 MB / 1.152 GB, free: 8.027 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00564/1.072, allocations: 1.363 MB / 1.153 GB, free: 7.062 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004797/1.076, allocations: 1.659 MB / 1.155 GB, free: 5.977 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/1.079, allocations: 0.8763 MB / 1.156 GB, free: 5.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/1.083, allocations: 1.178 MB / 1.157 GB, free: 4.676 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/1.085, allocations: 0.6548 MB / 1.157 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002959/1.085, allocations: 47.69 kB / 1.157 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003797/1.089, allocations: 1.053 MB / 1.158 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006167/1.09, allocations: 310 kB / 1.159 GB, free: 3.602 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007126/1.09, allocations: 272.6 kB / 1.159 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003243/1.094, allocations: 1.525 MB / 1.161 GB, free: 2.434 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/1.094, allocations: 0 / 1.161 GB, free: 2.434 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.735e-06/1.094, allocations: 1 kB / 1.161 GB, free: 2.434 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.664e-05/1.094, allocations: 0 / 1.161 GB, free: 2.434 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003811/1.098, allocations: 1.533 MB / 1.162 GB, free: 1.273 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/1.098, allocations: 8.906 kB / 1.162 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003665/1.098, allocations: 155.1 kB / 1.162 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/1.101, allocations: 371.9 kB / 1.163 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/1.104, allocations: 0.8749 MB / 1.163 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.515e-05/1.104, allocations: 82.98 kB / 1.163 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/1.104, allocations: 100.2 kB / 1.164 GB, free: 240 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/1.106, allocations: 1.092 MB / 1.165 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/1.106, allocations: 1.375 kB / 1.165 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/1.106, allocations: 47 kB / 1.165 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/1.106, allocations: 38.94 kB / 1.165 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/1.108, allocations: 0.7934 MB / 1.165 GB, free: 15.09 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.008294/1.116, allocations: 5.068 MB / 1.17 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/1.117, allocations: 0.7177 MB / 1.171 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005086/1.118, allocations: 152.5 kB / 1.171 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/1.118, allocations: 37.97 kB / 1.171 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 3.747e-06/1.118, allocations: 0 / 1.171 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.002458/1.121, allocations: 0.9323 MB / 1.172 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/1.121, allocations: 60.41 kB / 1.172 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/1.122, allocations: 0.8627 MB / 1.173 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.199e-05/1.122, allocations: 38.61 kB / 1.173 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005515/1.123, allocations: 0.5566 MB / 1.174 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/1.123, allocations: 247.3 kB / 1.174 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/1.123, allocations: 18.41 kB / 1.174 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.123, allocations: 343.8 kB / 1.174 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/1.124, allocations: 241.9 kB / 1.175 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006875/1.124, allocations: 434.8 kB / 1.175 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000596/1.125, allocations: 314.7 kB / 1.175 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.125, allocations: 2.656 kB / 1.175 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001771/1.127, allocations: 0.8261 MB / 1.176 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001368/1.128, allocations: 1.838 MB / 1.178 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/1.128, allocations: 9.453 kB / 1.178 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.795e-05/1.128, allocations: 22.12 kB / 1.178 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/1.13, allocations: 249.3 kB / 1.178 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/1.132, allocations: 1.398 MB / 1.179 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/1.134, allocations: 115.3 kB / 1.18 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.839e-05/1.134, allocations: 26.94 kB / 1.18 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.134, allocations: 5.75 kB / 1.18 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0016/1.135, allocations: 0.6999 MB / 1.18 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.135, allocations: 9.125 kB / 1.18 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.135, allocations: 10.94 kB / 1.18 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/1.137, allocations: 249.9 kB / 1.181 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/1.139, allocations: 1.409 MB / 1.182 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/1.141, allocations: 104.5 kB / 1.182 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.141, allocations: 33.91 kB / 1.182 GB, free: 1.434 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001225/1.142, allocations: 368.7 kB / 1.182 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005972/1.143, allocations: 111.2 kB / 1.183 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/1.145, allocations: 0.7915 MB / 1.183 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/1.146, allocations: 7.438 kB / 1.183 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.146, allocations: 3.938 kB / 1.183 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001811/1.147, allocations: 0.7019 MB / 1.184 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006318/1.154, allocations: 1.924 MB / 1.186 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/1.154, allocations: 2.844 kB / 1.186 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00088/1.155, allocations: 143.6 kB / 1.186 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005327/1.155, allocations: 46.8 kB / 1.186 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.84e-05/1.155, allocations: 24.36 kB / 1.186 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/1.157, allocations: 1.349 MB / 1.187 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/1.157, allocations: 7.891 kB / 1.187 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/1.16, allocations: 1.339 MB / 1.189 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008428/1.161, allocations: 257.1 kB / 1.189 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/1.161, allocations: 15.25 kB / 1.189 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.162, allocations: 59.8 kB / 1.189 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.163, allocations: 47.91 kB / 1.189 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.885e-05/1.163, allocations: 23.73 kB / 1.189 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00114/1.164, allocations: 0.5847 MB / 1.19 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.9e-07/1.164, allocations: 0 / 1.19 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002366/1.166, allocations: 0.5341 MB / 1.19 GB, free: 11.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003815/1.17, allocations: 2.472 MB / 1.193 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004085/1.174, allocations: 1.177 MB / 1.194 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/1.174, allocations: 1.688 kB / 1.194 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009986/1.175, allocations: 452.5 kB / 1.194 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/1.178, allocations: 0.4908 MB / 1.195 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/1.194, allocations: 9.547 MB / 1.204 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/1.195, allocations: 1.163 MB / 1.205 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001816/1.197, allocations: 272.8 kB / 1.205 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008378/1.198, allocations: 459.3 kB / 1.206 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of SimCode: time 1.623e-06/1.198, allocations: 0 / 1.206 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08005/1.278, allocations: 26.69 MB / 1.232 GB, free: 4.293 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003563/1.278, allocations: 264.4 kB / 1.232 GB, free: 3.938 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/4.443, allocations: 8 kB / 1.232 GB, free: 3.93 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)