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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 197.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 222 MB, free: 4.984 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 251.6 MB / 0.5088 GB, free: 3.273 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 60.48 kB / 0.6216 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.5536, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7661/1.32, allocations: 273 MB / 0.9904 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0215/1.341, allocations: 17.52 MB / 1.008 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003814/1.345, allocations: 64.72 kB / 1.008 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003965/1.349, allocations: 1.019 MB / 1.009 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008877/1.358, allocations: 2.973 MB / 1.011 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005836/1.364, allocations: 2.083 MB / 1.014 GB, free: 11 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007578/1.372, allocations: 6.986 MB / 1.02 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/1.374, allocations: 1.501 MB / 1.022 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006359/1.38, allocations: 2.166 MB / 1.024 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003562/1.384, allocations: 1.611 MB / 1.025 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004523/1.384, allocations: 96 kB / 1.026 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006335/1.391, allocations: 3.429 MB / 1.029 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008192/1.392, allocations: 0.6484 MB / 1.03 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001659/1.393, allocations: 1.035 MB / 1.031 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006278/1.4, allocations: 3.986 MB / 1.034 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.4, allocations: 0 / 1.034 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.203e-06/1.4, allocations: 0 / 1.034 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.624e-05/1.4, allocations: 0 / 1.034 GB, free: 13.37 MB / 0.7325 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.004477/1.404, allocations: 2.441 MB / 1.037 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.404, allocations: 12.03 kB / 1.037 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/1.409, allocations: 0.6362 MB / 1.037 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/1.411, allocations: 1.334 MB / 1.039 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-05/1.411, allocations: 102.5 kB / 1.039 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/1.412, allocations: 140 kB / 1.039 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/1.414, allocations: 1.607 MB / 1.041 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/1.415, allocations: 0 / 1.041 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/1.415, allocations: 60 kB / 1.041 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/1.415, allocations: 46.52 kB / 1.041 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/1.417, allocations: 1.275 MB / 1.042 GB, free: 5.637 MB / 0.7325 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.008994/1.426, allocations: 7.229 MB / 1.049 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009433/1.427, allocations: 0.6288 MB / 1.05 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005003/1.427, allocations: 366.8 kB / 1.05 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/1.427, allocations: 108.6 kB / 1.05 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/1.427, allocations: 39.12 kB / 1.05 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008198/1.428, allocations: 151 kB / 1.05 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 2.134e-06/1.428, allocations: 0 / 1.05 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.001799/1.43, allocations: 1.004 MB / 1.051 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/1.43, allocations: 59.97 kB / 1.051 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/1.432, allocations: 1.338 MB / 1.053 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-05/1.432, allocations: 45.7 kB / 1.053 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/1.432, allocations: 0.7625 MB / 1.053 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/1.433, allocations: 246.2 kB / 1.054 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/1.433, allocations: 202.4 kB / 1.054 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.433, allocations: 349.9 kB / 1.054 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/1.434, allocations: 351.7 kB / 1.054 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/1.434, allocations: 0.6346 MB / 1.055 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/1.435, allocations: 0.9534 MB / 1.056 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.435, allocations: 4 kB / 1.056 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001708/1.437, allocations: 1.134 MB / 1.057 GB, free: 5.434 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.437, allocations: 8 kB / 1.057 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.437, allocations: 8.906 kB / 1.057 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/1.437, allocations: 12 kB / 1.057 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008717/1.438, allocations: 215 kB / 1.057 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/1.438, allocations: 19.55 kB / 1.057 GB, free: 5.195 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.44, allocations: 127.3 kB / 1.057 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/1.44, allocations: 40 kB / 1.058 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001046/1.441, allocations: 0.6854 MB / 1.058 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007241/1.442, allocations: 0.6413 MB / 1.059 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001199/1.443, allocations: 0.9544 MB / 1.06 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/1.443, allocations: 4 kB / 1.06 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001708/1.444, allocations: 1.137 MB / 1.061 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.445, allocations: 11.98 kB / 1.061 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.445, allocations: 4 kB / 1.061 GB, free: 1.395 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/1.445, allocations: 12 kB / 1.061 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007999/1.445, allocations: 207.7 kB / 1.061 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/1.445, allocations: 15.94 kB / 1.061 GB, free: 1.164 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/1.447, allocations: 140.7 kB / 1.061 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-05/1.447, allocations: 43.98 kB / 1.061 GB, free: 0.9844 MB / 0.7481 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.0002839/1.447, allocations: 251.8 kB / 1.062 GB, free: 0.7305 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/1.447, allocations: 154.1 kB / 1.062 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/1.449, allocations: 0.8084 MB / 1.062 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.449, allocations: 11.94 kB / 1.062 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.449, allocations: 0 / 1.062 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009351/1.45, allocations: 0.7784 MB / 1.063 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/1.453, allocations: 2.293 MB / 1.065 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/1.453, allocations: 4 kB / 1.065 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008127/1.454, allocations: 175.8 kB / 1.066 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/1.454, allocations: 7.938 kB / 1.066 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/1.454, allocations: 19.98 kB / 1.066 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/1.454, allocations: 12.12 kB / 1.066 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.454, allocations: 4 kB / 1.066 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/1.456, allocations: 1.292 MB / 1.067 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005344/1.456, allocations: 335.2 kB / 1.067 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/1.456, allocations: 19.98 kB / 1.067 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.457, allocations: 105.8 kB / 1.067 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.119e-05/1.458, allocations: 44.5 kB / 1.067 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-05/1.458, allocations: 31.98 kB / 1.067 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001131/1.459, allocations: 0.9079 MB / 1.068 GB, free: 9.57 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.459, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001941/1.461, allocations: 0.8573 MB / 1.069 GB, free: 8.711 MB / 0.7637 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.0005781/1.461, allocations: 277.7 kB / 1.069 GB, free: 8.449 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.463, allocations: 1.31 MB / 1.071 GB, free: 7.145 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.463, allocations: 0 / 1.071 GB, free: 7.145 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004699/1.464, allocations: 346.9 kB / 1.071 GB, free: 6.809 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/1.467, allocations: 0.8527 MB / 1.072 GB, free: 5.969 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/1.472, allocations: 3.512 MB / 1.075 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008645/1.473, allocations: 1.36 MB / 1.077 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001638/1.474, allocations: 408.3 kB / 1.077 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/1.475, allocations: 115.4 kB / 1.077 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of SimCode: time 5.01e-07/1.475, allocations: 0 / 1.077 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of Templates: time 0.04608/1.521, allocations: 28.57 MB / 1.105 GB, free: 4.371 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)