Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00154/0.00154, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001908/0.001908, allocations: 198.8 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 68.06 kB / 0.9113 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4179, allocations: 159.9 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.083/1.501, allocations: 272.5 MB / 1.334 GB, free: 19.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02353/1.525, allocations: 17.48 MB / 1.351 GB, free: 18.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004575/1.529, allocations: 65.88 kB / 1.351 GB, free: 18.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003981/1.533, allocations: 0.9957 MB / 1.352 GB, free: 18.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/1.544, allocations: 2.93 MB / 1.355 GB, free: 17.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006818/1.551, allocations: 2.01 MB / 1.357 GB, free: 16.64 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008704/1.559, allocations: 6.748 MB / 1.363 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/1.562, allocations: 1.481 MB / 1.365 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006538/1.569, allocations: 2.119 MB / 1.367 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/1.572, allocations: 1.587 MB / 1.368 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000481/1.573, allocations: 96.19 kB / 1.368 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007316/1.58, allocations: 3.422 MB / 1.372 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001157/1.581, allocations: 0.6369 MB / 1.372 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001808/1.583, allocations: 1.024 MB / 1.373 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006918/1.59, allocations: 3.916 MB / 1.377 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/1.59, allocations: 0 / 1.377 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/1.59, allocations: 0 / 1.377 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.346e-05/1.59, allocations: 3.438 kB / 1.377 GB, free: 10.14 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004131/1.594, allocations: 2.435 MB / 1.379 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.594, allocations: 14.12 kB / 1.379 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004433/1.599, allocations: 0.6402 MB / 1.38 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/1.601, allocations: 1.335 MB / 1.381 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/1.601, allocations: 102.6 kB / 1.382 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/1.601, allocations: 141 kB / 1.382 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/1.604, allocations: 1.575 MB / 1.383 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/1.604, allocations: 3.281 kB / 1.383 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/1.604, allocations: 53.41 kB / 1.383 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-05/1.604, allocations: 52.5 kB / 1.383 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/1.606, allocations: 1.267 MB / 1.385 GB, free: 5.375 MB / 0.9981 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.0096/1.616, allocations: 7.216 MB / 1.392 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/1.617, allocations: 0.6443 MB / 1.392 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000524/1.618, allocations: 373.3 kB / 1.393 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/1.618, allocations: 109.7 kB / 1.393 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/1.618, allocations: 40.16 kB / 1.393 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009106/1.619, allocations: 149.6 kB / 1.393 GB, free: 14.37 MB / 1.014 GB Notification: Performance of pre-optimization done (n=67): time 5.681e-06/1.619, allocations: 0 / 1.393 GB, free: 14.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=67): time 0.001903/1.621, allocations: 1.02 MB / 1.394 GB, free: 13.85 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/1.621, allocations: 63.09 kB / 1.394 GB, free: 13.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/1.623, allocations: 1.337 MB / 1.395 GB, free: 13.06 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/1.623, allocations: 45.8 kB / 1.395 GB, free: 13.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006276/1.623, allocations: 0.7786 MB / 1.396 GB, free: 12.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/1.624, allocations: 241.6 kB / 1.396 GB, free: 12.13 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/1.624, allocations: 200.7 kB / 1.396 GB, free: 12.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.624, allocations: 341.5 kB / 1.397 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/1.625, allocations: 361.7 kB / 1.397 GB, free: 11.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007907/1.625, allocations: 0.6842 MB / 1.398 GB, free: 10.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/1.627, allocations: 0.9543 MB / 1.399 GB, free: 10.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.627, allocations: 0 / 1.399 GB, free: 10.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001715/1.628, allocations: 1.152 MB / 1.4 GB, free: 9.652 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.629, allocations: 7.344 kB / 1.4 GB, free: 9.652 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.629, allocations: 8.031 kB / 1.4 GB, free: 9.652 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/1.629, allocations: 16.69 kB / 1.4 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008549/1.629, allocations: 213.5 kB / 1.4 GB, free: 9.598 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/1.629, allocations: 21.27 kB / 1.4 GB, free: 9.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/1.631, allocations: 134 kB / 1.4 GB, free: 9.527 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.513e-05/1.631, allocations: 43.69 kB / 1.4 GB, free: 9.516 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00107/1.632, allocations: 0.686 MB / 1.401 GB, free: 9.102 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008278/1.633, allocations: 0.6804 MB / 1.402 GB, free: 8.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001218/1.634, allocations: 0.9416 MB / 1.403 GB, free: 7.836 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/1.634, allocations: 2.469 kB / 1.403 GB, free: 7.836 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001688/1.636, allocations: 1.154 MB / 1.404 GB, free: 7.254 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.636, allocations: 8.109 kB / 1.404 GB, free: 7.254 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.636, allocations: 10.53 kB / 1.404 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/1.636, allocations: 13.59 kB / 1.404 GB, free: 7.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/1.637, allocations: 213.2 kB / 1.404 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/1.637, allocations: 19.05 kB / 1.404 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/1.639, allocations: 147.9 kB / 1.404 GB, free: 7.121 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/1.639, allocations: 37.44 kB / 1.404 GB, free: 7.113 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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.0003383/1.639, allocations: 241.5 kB / 1.404 GB, free: 6.875 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/1.639, allocations: 150.2 kB / 1.404 GB, free: 6.727 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/1.641, allocations: 0.8318 MB / 1.405 GB, free: 5.883 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/1.641, allocations: 8 kB / 1.405 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.641, allocations: 0 / 1.405 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/1.642, allocations: 0.7863 MB / 1.406 GB, free: 5.039 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/1.646, allocations: 2.302 MB / 1.408 GB, free: 2.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.646, allocations: 4 kB / 1.408 GB, free: 2.676 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008273/1.647, allocations: 159.8 kB / 1.408 GB, free: 2.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/1.647, allocations: 8 kB / 1.408 GB, free: 2.512 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/1.647, allocations: 15.98 kB / 1.408 GB, free: 2.496 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/1.647, allocations: 8.188 kB / 1.408 GB, free: 2.488 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/1.647, allocations: 11.92 kB / 1.408 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/1.649, allocations: 1.265 MB / 1.41 GB, free: 1.172 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007652/1.65, allocations: 315.2 kB / 1.41 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/1.65, allocations: 20 kB / 1.41 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.651, allocations: 93.45 kB / 1.41 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.651, allocations: 48.38 kB / 1.41 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.479e-05/1.651, allocations: 35.98 kB / 1.41 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001863/1.653, allocations: 0.9083 MB / 1.411 GB, free: 15.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.653, allocations: 3.938 kB / 1.411 GB, free: 15.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003602/1.657, allocations: 0.8405 MB / 1.412 GB, free: 14.9 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * 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.0008968/1.658, allocations: 263 kB / 1.412 GB, free: 14.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003023/1.661, allocations: 1.326 MB / 1.413 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.661, allocations: 0 / 1.413 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005764/1.662, allocations: 354.9 kB / 1.414 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00442/1.666, allocations: 0.8359 MB / 1.415 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/1.672, allocations: 3.506 MB / 1.418 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/1.673, allocations: 1.349 MB / 1.419 GB, free: 7.223 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001896/1.675, allocations: 424.4 kB / 1.42 GB, free: 6.801 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/1.675, allocations: 115.4 kB / 1.42 GB, free: 6.688 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/1.675, allocations: 0 / 1.42 GB, free: 6.688 MB / 1.029 GB Notification: Performance of Templates: time 0.05083/1.726, allocations: 28.1 MB / 1.447 GB, free: 10.97 MB / 1.061 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)