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.761/1.761, allocations: 288.4 MB / 303.3 MB, free: 8.172 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.001273/0.001273, allocations: 192.4 kB / 372 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.807/1.807, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0007617/0.0007618, allocations: 84.97 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005126/0.000513, allocations: 11.62 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2653, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.8985/1.164, allocations: 180.9 MB / 1.156 GB, free: 6.219 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01795/1.182, allocations: 9.637 MB / 1.166 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/1.184, allocations: 49.88 kB / 1.166 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/1.186, allocations: 399.8 kB / 1.166 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00648/1.192, allocations: 1.45 MB / 1.168 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003949/1.196, allocations: 1.048 MB / 1.169 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005826/1.202, allocations: 3.116 MB / 1.172 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/1.204, allocations: 0.8764 MB / 1.173 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/1.209, allocations: 1.304 MB / 1.174 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/1.211, allocations: 0.8613 MB / 1.175 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002408/1.211, allocations: 46.31 kB / 1.175 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004574/1.216, allocations: 1.329 MB / 1.176 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005744/1.217, allocations: 334.4 kB / 1.176 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008435/1.217, allocations: 276.4 kB / 1.177 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003575/1.221, allocations: 1.662 MB / 1.178 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/1.221, allocations: 4 kB / 1.178 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.625e-06/1.221, allocations: 0 / 1.178 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.067e-05/1.221, allocations: 0 / 1.178 GB, free: 6.379 MB / 0.7136 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.003126/1.224, allocations: 1.576 MB / 1.18 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.224, allocations: 11.66 kB / 1.18 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/1.224, allocations: 153.8 kB / 1.18 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/1.227, allocations: 379.6 kB / 1.18 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.228, allocations: 0.858 MB / 1.181 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/1.228, allocations: 82.89 kB / 1.181 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/1.228, allocations: 108.4 kB / 1.181 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/1.23, allocations: 1.095 MB / 1.182 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/1.23, allocations: 6.375 kB / 1.182 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/1.23, allocations: 43.16 kB / 1.182 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-05/1.231, allocations: 38.64 kB / 1.182 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/1.232, allocations: 0.7929 MB / 1.183 GB, free: 3.004 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.006153/1.238, allocations: 5.079 MB / 1.188 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/1.239, allocations: 0.7057 MB / 1.189 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/1.24, allocations: 348.5 kB / 1.189 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006582/1.241, allocations: 330.9 kB / 1.189 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/1.241, allocations: 45.95 kB / 1.19 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 4.488e-06/1.241, allocations: 0 / 1.19 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.001897/1.243, allocations: 0.9371 MB / 1.19 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/1.243, allocations: 58.19 kB / 1.19 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.244, allocations: 0.8639 MB / 1.191 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/1.244, allocations: 36.61 kB / 1.191 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/1.244, allocations: 0.5614 MB / 1.192 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/1.244, allocations: 242.7 kB / 1.192 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/1.244, allocations: 14.94 kB / 1.192 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.245, allocations: 341.8 kB / 1.192 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/1.245, allocations: 245.1 kB / 1.193 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/1.246, allocations: 443.9 kB / 1.193 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/1.246, allocations: 308.7 kB / 1.193 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.246, allocations: 3.344 kB / 1.193 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00146/1.248, allocations: 0.8331 MB / 1.194 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/1.248, allocations: 220.7 kB / 1.194 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.248, allocations: 4.719 kB / 1.194 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/1.248, allocations: 12.72 kB / 1.194 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/1.25, allocations: 259.2 kB / 1.195 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/1.251, allocations: 1.392 MB / 1.196 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/1.252, allocations: 112.6 kB / 1.196 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/1.252, allocations: 32.62 kB / 1.196 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/1.252, allocations: 6.031 kB / 1.196 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/1.253, allocations: 0.6989 MB / 1.197 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.253, allocations: 9.25 kB / 1.197 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/1.254, allocations: 8.688 kB / 1.197 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/1.255, allocations: 254.5 kB / 1.197 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/1.256, allocations: 1.393 MB / 1.199 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.257, allocations: 111.5 kB / 1.199 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/1.257, allocations: 32.66 kB / 1.199 GB, free: 6.672 MB / 0.7292 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.0007024/1.258, allocations: 375.8 kB / 1.199 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/1.258, allocations: 109.8 kB / 1.199 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/1.26, allocations: 0.7854 MB / 1.2 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.26, allocations: 11.58 kB / 1.2 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/1.26, allocations: 3.938 kB / 1.2 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/1.261, allocations: 0.7036 MB / 1.201 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/1.265, allocations: 1.922 MB / 1.202 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.265, allocations: 3.984 kB / 1.202 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/1.266, allocations: 143.7 kB / 1.203 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/1.266, allocations: 48.38 kB / 1.203 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/1.266, allocations: 21.91 kB / 1.203 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/1.268, allocations: 1.346 MB / 1.204 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.268, allocations: 6.844 kB / 1.204 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/1.27, allocations: 1.252 MB / 1.205 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/1.271, allocations: 256 kB / 1.205 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.271, allocations: 16.58 kB / 1.205 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006617/1.271, allocations: 61.73 kB / 1.206 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/1.271, allocations: 49.8 kB / 1.206 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/1.272, allocations: 21.09 kB / 1.206 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000856/1.272, allocations: 0.5839 MB / 1.206 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/1.272, allocations: 3.344 kB / 1.206 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001513/1.274, allocations: 0.5331 MB / 1.207 GB, free: 0.8398 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.002955/1.277, allocations: 1.899 MB / 1.209 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003588/1.28, allocations: 1.178 MB / 1.21 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.28, allocations: 4 kB / 1.21 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000851/1.281, allocations: 450.6 kB / 1.21 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/1.284, allocations: 0.5171 MB / 1.211 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/1.296, allocations: 6.588 MB / 1.217 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008623/1.297, allocations: 1.136 MB / 1.218 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001341/1.298, allocations: 272.8 kB / 1.218 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/1.299, allocations: 455.3 kB / 1.219 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/1.299, allocations: 0 / 1.219 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05373/1.352, allocations: 26.73 MB / 1.245 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/1.353, allocations: 273.1 kB / 1.245 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.938/4.291, allocations: 0 / 1.245 GB, free: 9.215 MB / 0.7761 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)