Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.485/1.485, allocations: 287.4 MB / 302.6 MB, free: 8.156 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.0009236/0.0009235, allocations: 180.3 kB / 371.1 MB, free: 10.75 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.169/1.169, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0006916/0.0006916, allocations: 90.34 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003249, allocations: 16.14 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1605, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.4851/0.6457, allocations: 180.9 MB / 1.155 GB, free: 6.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.6578, allocations: 9.636 MB / 1.165 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.6593, allocations: 48.75 kB / 1.165 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.6604, allocations: 399.3 kB / 1.165 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003701/0.6641, allocations: 1.449 MB / 1.167 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.6668, allocations: 1.039 MB / 1.168 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003314/0.6701, allocations: 3.155 MB / 1.171 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.6714, allocations: 0.9841 MB / 1.172 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.6741, allocations: 1.307 MB / 1.173 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.6754, allocations: 0.8692 MB / 1.174 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.6756, allocations: 51.16 kB / 1.174 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.6784, allocations: 1.315 MB / 1.175 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003736/0.6788, allocations: 335.1 kB / 1.176 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.6792, allocations: 276.5 kB / 1.176 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.6813, allocations: 1.662 MB / 1.177 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6813, allocations: 0 / 1.177 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6813, allocations: 3.938 kB / 1.177 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.091e-05/0.6814, allocations: 0 / 1.177 GB, free: 7.129 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.002934/0.6843, allocations: 1.563 MB / 1.179 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.6844, allocations: 10.78 kB / 1.179 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.6845, allocations: 157.9 kB / 1.179 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.6863, allocations: 368.3 kB / 1.179 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.6876, allocations: 0.9143 MB / 1.18 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.6877, allocations: 77.59 kB / 1.18 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.6878, allocations: 106 kB / 1.181 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.6894, allocations: 1.096 MB / 1.182 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.6894, allocations: 4.188 kB / 1.182 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-05/0.6895, allocations: 40.41 kB / 1.182 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/0.6895, allocations: 37.5 kB / 1.182 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.6908, allocations: 0.8004 MB / 1.182 GB, free: 3.715 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.005069/0.6958, allocations: 5.078 MB / 1.187 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.697, allocations: 0.71 MB / 1.188 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/0.6975, allocations: 352.6 kB / 1.188 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005417/0.698, allocations: 327 kB / 1.189 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.698, allocations: 48.2 kB / 1.189 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=70): time 2.033e-06/0.6981, allocations: 0 / 1.189 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.001652/0.6997, allocations: 0.9313 MB / 1.19 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.6998, allocations: 63.95 kB / 1.19 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009078/0.7007, allocations: 0.8618 MB / 1.191 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.7007, allocations: 38.73 kB / 1.191 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.7011, allocations: 0.5545 MB / 1.191 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.7013, allocations: 247.9 kB / 1.191 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.7014, allocations: 25.06 kB / 1.191 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7015, allocations: 332.2 kB / 1.192 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.7019, allocations: 245 kB / 1.192 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.7025, allocations: 446.1 kB / 1.192 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.7034, allocations: 0.7038 MB / 1.193 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.7035, allocations: 0 / 1.193 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001187/0.7047, allocations: 0.8211 MB / 1.194 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.7048, allocations: 234.6 kB / 1.194 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.7048, allocations: 5.875 kB / 1.194 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.7048, allocations: 7.906 kB / 1.194 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.7062, allocations: 257.2 kB / 1.194 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.7075, allocations: 1.406 MB / 1.196 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000712/0.7082, allocations: 108.5 kB / 1.196 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.7082, allocations: 32.61 kB / 1.196 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-06/0.7083, allocations: 4.625 kB / 1.196 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001077/0.7093, allocations: 0.6973 MB / 1.197 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.7094, allocations: 4.75 kB / 1.197 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.7094, allocations: 9.281 kB / 1.197 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.7107, allocations: 252.6 kB / 1.197 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.7118, allocations: 1.402 MB / 1.198 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/0.7124, allocations: 107.8 kB / 1.198 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.7125, allocations: 28.62 kB / 1.198 GB, free: 7.055 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.0003947/0.7129, allocations: 365.9 kB / 1.199 GB, free: 6.758 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.713, allocations: 110.6 kB / 1.199 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.7145, allocations: 0.7895 MB / 1.2 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.7145, allocations: 5.125 kB / 1.2 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.7145, allocations: 4 kB / 1.2 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/0.7157, allocations: 0.6986 MB / 1.2 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.7186, allocations: 1.938 MB / 1.202 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7186, allocations: 4.031 kB / 1.202 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.7192, allocations: 140.5 kB / 1.202 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003787/0.7196, allocations: 47.92 kB / 1.202 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.7197, allocations: 21.73 kB / 1.202 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.7208, allocations: 1.349 MB / 1.204 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.7208, allocations: 2.438 kB / 1.204 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.7227, allocations: 1.256 MB / 1.205 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.7231, allocations: 252.8 kB / 1.205 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.7232, allocations: 23.91 kB / 1.205 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/0.7238, allocations: 63.17 kB / 1.205 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.7239, allocations: 50.28 kB / 1.205 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.7239, allocations: 24.58 kB / 1.205 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006944/0.7246, allocations: 0.5836 MB / 1.206 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7246, allocations: 0 / 1.206 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001204/0.7258, allocations: 0.5306 MB / 1.206 GB, free: 1.277 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.002599/0.7284, allocations: 1.906 MB / 1.208 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003226/0.7317, allocations: 1.182 MB / 1.209 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7317, allocations: 4.188 kB / 1.209 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007127/0.7324, allocations: 450.2 kB / 1.21 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.735, allocations: 0.4951 MB / 1.21 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009643/0.7446, allocations: 6.592 MB / 1.217 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007171/0.7453, allocations: 1.14 MB / 1.218 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001062/0.7464, allocations: 280.8 kB / 1.218 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/0.747, allocations: 455.3 kB / 1.219 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of SimCode: time 4.9e-07/0.747, allocations: 3.938 kB / 1.219 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2805/1.028, allocations: 26.69 MB / 1.245 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/1.028, allocations: 262.5 kB / 1.245 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.524, allocations: 0 / 1.245 GB, free: 9.707 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)