Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier",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.248/1.248, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009959/0.000996, allocations: 172.2 kB / 325.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006681/0.0006681, allocations: 86.05 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.000281, allocations: 9.75 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5021/0.6365, allocations: 272.7 MB / 1.162 GB, free: 160 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.6528, allocations: 17.53 MB / 1.18 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.6544, allocations: 58.69 kB / 1.18 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.6567, allocations: 1.013 MB / 1.181 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005646/0.6623, allocations: 2.978 MB / 1.184 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.6664, allocations: 2.071 MB / 1.186 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005507/0.6719, allocations: 7.004 MB / 1.192 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.6737, allocations: 1.439 MB / 1.194 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/0.6781, allocations: 2.148 MB / 1.196 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.6805, allocations: 1.553 MB / 1.197 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.6807, allocations: 75.81 kB / 1.197 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005075/0.6858, allocations: 3.404 MB / 1.201 GB, free: 68 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005607/0.6864, allocations: 0.6308 MB / 1.201 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009267/0.6873, allocations: 0.9834 MB / 1.202 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003891/0.6912, allocations: 3.909 MB / 1.206 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6912, allocations: 0 / 1.206 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6912, allocations: 0 / 1.206 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.51e-05/0.6913, allocations: 7.938 kB / 1.206 GB, free: 10.52 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.002989/0.6942, allocations: 2.034 MB / 1.208 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.6943, allocations: 8.031 kB / 1.208 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002089/0.6945, allocations: 194.3 kB / 1.208 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/0.6982, allocations: 0.6533 MB / 1.209 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.7, allocations: 1.322 MB / 1.21 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/0.7001, allocations: 102.6 kB / 1.21 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.7002, allocations: 136 kB / 1.211 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.7024, allocations: 1.617 MB / 1.212 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.7024, allocations: 4 kB / 1.212 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.7026, allocations: 60 kB / 1.212 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.7026, allocations: 46.52 kB / 1.212 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.7044, allocations: 1.271 MB / 1.213 GB, free: 2.871 MB / 0.7292 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.00714/0.7116, allocations: 7.241 MB / 1.221 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008152/0.7124, allocations: 0.6224 MB / 1.221 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/0.7129, allocations: 369.3 kB / 1.222 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.713, allocations: 109.6 kB / 1.222 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.7131, allocations: 47.06 kB / 1.222 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005047/0.7136, allocations: 147.1 kB / 1.222 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=67): time 2.285e-06/0.7136, allocations: 0 / 1.222 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67): time 0.001565/0.7152, allocations: 1.001 MB / 1.223 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.7152, allocations: 55.97 kB / 1.223 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.7166, allocations: 1.338 MB / 1.224 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.7167, allocations: 49.69 kB / 1.224 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.7172, allocations: 0.7733 MB / 1.225 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.7173, allocations: 236.6 kB / 1.225 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.7174, allocations: 85.67 kB / 1.225 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7176, allocations: 345.9 kB / 1.226 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.718, allocations: 337.8 kB / 1.226 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006559/0.7187, allocations: 0.6433 MB / 1.227 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.7198, allocations: 0.9466 MB / 1.227 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7198, allocations: 0 / 1.227 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001476/0.7213, allocations: 1.148 MB / 1.229 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.7214, allocations: 305.5 kB / 1.229 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.7215, allocations: 12 kB / 1.229 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.7215, allocations: 15.94 kB / 1.229 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.7223, allocations: 207.7 kB / 1.229 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.7223, allocations: 19.92 kB / 1.229 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.7235, allocations: 126.9 kB / 1.229 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.7235, allocations: 43.98 kB / 1.229 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/0.7235, allocations: 6.5 kB / 1.229 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001271/0.7248, allocations: 0.9799 MB / 1.23 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.7248, allocations: 11.94 kB / 1.23 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.7249, allocations: 15.94 kB / 1.23 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/0.7256, allocations: 207.7 kB / 1.23 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.7256, allocations: 15.94 kB / 1.23 GB, free: 500 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.7267, allocations: 136.6 kB / 1.231 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.7267, allocations: 43.98 kB / 1.231 GB, free: 320 kB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (121): * Single equations (assignments): 119 * Array equations: 2 * 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.0005206/0.7273, allocations: 0.495 MB / 1.231 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.7275, allocations: 162.1 kB / 1.231 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.7286, allocations: 0.8045 MB / 1.232 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.7286, allocations: 8 kB / 1.232 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7286, allocations: 0 / 1.232 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008532/0.7295, allocations: 0.7745 MB / 1.233 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.7322, allocations: 2.302 MB / 1.235 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7323, allocations: 0 / 1.235 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.733, allocations: 175.8 kB / 1.235 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.733, allocations: 7.984 kB / 1.235 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.7331, allocations: 16 kB / 1.235 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.7331, allocations: 4 kB / 1.235 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.7331, allocations: 3.938 kB / 1.235 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.7346, allocations: 1.3 MB / 1.237 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/0.735, allocations: 339.2 kB / 1.237 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.7352, allocations: 16 kB / 1.237 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000951/0.7362, allocations: 110.9 kB / 1.237 GB, free: 9.605 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.7362, allocations: 48.44 kB / 1.237 GB, free: 9.559 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.7363, allocations: 31.98 kB / 1.237 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009827/0.7373, allocations: 0.9079 MB / 1.238 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7373, allocations: 0 / 1.238 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001566/0.7389, allocations: 0.8535 MB / 1.239 GB, free: 7.766 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.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 (71): * Single equations (assignments): 71 * 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.001975/0.7409, allocations: 2.003 MB / 1.241 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.7426, allocations: 1.308 MB / 1.242 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7426, allocations: 4 kB / 1.242 GB, free: 4.41 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.743, allocations: 343 kB / 1.242 GB, free: 4.078 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003668/0.7467, allocations: 0.8624 MB / 1.243 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.7613, allocations: 12.03 MB / 1.255 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/0.7622, allocations: 1.352 MB / 1.256 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001453/0.7636, allocations: 412.2 kB / 1.257 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006858/0.7643, allocations: 0.6125 MB / 1.257 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.7643, allocations: 0 / 1.257 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8906/1.655, allocations: 40.39 MB / 1.297 GB, free: 12.19 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.655, allocations: 268.2 kB / 1.297 GB, free: 11.89 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.314/4.969, allocations: 0 / 1.297 GB, free: 11.89 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowHumidifier.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)