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.656/1.656, allocations: 252 MB / 267.3 MB, free: 10.86 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.001156/0.001156, allocations: 184.3 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 1.691/1.691, 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.0008302/0.0008302, allocations: 95.97 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003142, allocations: 10.53 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1645, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6436/0.8081, allocations: 269.3 MB / 1.164 GB, free: 128 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02126/0.8294, allocations: 17.33 MB / 1.181 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003382/0.8329, allocations: 52.5 kB / 1.181 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.836, allocations: 1.014 MB / 1.182 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008467/0.8445, allocations: 2.977 MB / 1.185 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00556/0.85, allocations: 2.092 MB / 1.187 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008215/0.8583, allocations: 6.993 MB / 1.194 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.8611, allocations: 1.453 MB / 1.195 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007527/0.8686, allocations: 2.147 MB / 1.197 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004874/0.8735, allocations: 1.536 MB / 1.199 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004153/0.874, allocations: 84.94 kB / 1.199 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007094/0.8811, allocations: 3.408 MB / 1.202 GB, free: 14 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.8822, allocations: 0.6152 MB / 1.203 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.8841, allocations: 1.012 MB / 1.204 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006998/0.8911, allocations: 3.917 MB / 1.207 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8911, allocations: 0 / 1.207 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8911, allocations: 0 / 1.207 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.502e-05/0.8912, allocations: 0 / 1.207 GB, free: 8.434 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.004024/0.8952, allocations: 2.03 MB / 1.209 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.8953, allocations: 12.03 kB / 1.209 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000263/0.8955, allocations: 202.3 kB / 1.21 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.8998, allocations: 0.6533 MB / 1.21 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.902, allocations: 1.318 MB / 1.212 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/0.9021, allocations: 102.6 kB / 1.212 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.9023, allocations: 144 kB / 1.212 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.9049, allocations: 1.607 MB / 1.213 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.905, allocations: 4 kB / 1.213 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.9051, allocations: 56 kB / 1.213 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/0.9052, allocations: 58.42 kB / 1.214 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.9073, allocations: 1.275 MB / 1.215 GB, free: 0.7734 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.008515/0.9158, allocations: 7.233 MB / 1.222 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/0.9168, allocations: 0.6223 MB / 1.222 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/0.9173, allocations: 376.9 kB / 1.223 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.9175, allocations: 109.6 kB / 1.223 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.9175, allocations: 47.12 kB / 1.223 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007794/0.9183, allocations: 139.1 kB / 1.223 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=67): time 3.356e-06/0.9183, allocations: 0 / 1.223 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67): time 0.00179/0.9201, allocations: 1.001 MB / 1.224 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.9202, allocations: 59.97 kB / 1.224 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.9218, allocations: 1.338 MB / 1.225 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.9219, allocations: 45.7 kB / 1.225 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005507/0.9224, allocations: 0.7694 MB / 1.226 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.9227, allocations: 240.6 kB / 1.226 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.9227, allocations: 19.98 kB / 1.226 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9229, allocations: 341.9 kB / 1.227 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/0.9234, allocations: 345.8 kB / 1.227 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000735/0.9241, allocations: 0.6433 MB / 1.228 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.9258, allocations: 0.9544 MB / 1.229 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.9258, allocations: 3.938 kB / 1.229 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001803/0.9276, allocations: 1.136 MB / 1.23 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.9278, allocations: 309.7 kB / 1.23 GB, free: 104 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.9278, allocations: 8 kB / 1.23 GB, free: 96 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.9278, allocations: 12 kB / 1.23 GB, free: 84 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009266/0.9288, allocations: 211.7 kB / 1.23 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.9288, allocations: 16.56 kB / 1.23 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.9303, allocations: 126.9 kB / 1.23 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.85e-05/0.9304, allocations: 47.98 kB / 1.23 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.9304, allocations: 7.938 kB / 1.23 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001485/0.9319, allocations: 0.9758 MB / 1.231 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.9319, allocations: 8 kB / 1.231 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.932, allocations: 12 kB / 1.231 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008302/0.9328, allocations: 203.7 kB / 1.232 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.9328, allocations: 24.5 kB / 1.232 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.9342, allocations: 142.4 kB / 1.232 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/0.9343, allocations: 36 kB / 1.232 GB, free: 14.3 MB / 0.7605 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.0007724/0.935, allocations: 0.5007 MB / 1.232 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.9352, allocations: 154.2 kB / 1.232 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.9366, allocations: 0.8045 MB / 1.233 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/0.9366, allocations: 11.98 kB / 1.233 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.9366, allocations: 0 / 1.233 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000934/0.9375, allocations: 0.7784 MB / 1.234 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.9408, allocations: 2.306 MB / 1.236 GB, free: 9.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.9408, allocations: 0 / 1.236 GB, free: 9.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008369/0.9416, allocations: 171.8 kB / 1.236 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.9417, allocations: 4 kB / 1.236 GB, free: 9.418 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.9417, allocations: 19.98 kB / 1.236 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.9417, allocations: 4.188 kB / 1.236 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9417, allocations: 7.938 kB / 1.237 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.9434, allocations: 1.3 MB / 1.238 GB, free: 8.051 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005328/0.944, allocations: 339.2 kB / 1.238 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.9441, allocations: 20 kB / 1.238 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.9453, allocations: 103.8 kB / 1.238 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/0.9454, allocations: 48.5 kB / 1.238 GB, free: 7.535 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.9455, allocations: 31.97 kB / 1.238 GB, free: 7.504 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001135/0.9466, allocations: 0.9079 MB / 1.239 GB, free: 6.598 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9466, allocations: 0 / 1.239 GB, free: 6.598 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00182/0.9484, allocations: 0.8573 MB / 1.24 GB, free: 5.738 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.002292/0.9507, allocations: 2.011 MB / 1.242 GB, free: 3.688 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.9527, allocations: 1.303 MB / 1.243 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9527, allocations: 4 kB / 1.243 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004612/0.9532, allocations: 343 kB / 1.244 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004139/0.9573, allocations: 0.8441 MB / 1.244 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.9741, allocations: 12.14 MB / 1.256 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009676/0.9751, allocations: 1.356 MB / 1.258 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00182/0.9769, allocations: 412.2 kB / 1.258 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007748/0.9777, allocations: 0.6008 MB / 1.259 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of SimCode: time 8.82e-07/0.9777, allocations: 0 / 1.259 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07306/1.051, allocations: 40.42 MB / 1.298 GB, free: 10.05 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/1.051, allocations: 252.9 kB / 1.298 GB, free: 9.754 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.482/4.533, allocations: 0 / 1.298 GB, free: 9.754 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)