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.001656/0.001656, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002119/0.002119, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.473/1.473, allocations: 222.9 MB / 239.9 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.925/2.925, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 66.98 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3892, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.045/1.434, allocations: 271.4 MB / 1.333 GB, free: 19.53 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02746/1.461, allocations: 17.25 MB / 1.35 GB, free: 18.87 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004608/1.466, allocations: 61.03 kB / 1.35 GB, free: 18.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004799/1.471, allocations: 1.04 MB / 1.351 GB, free: 18.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/1.482, allocations: 2.911 MB / 1.353 GB, free: 17.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007436/1.49, allocations: 2.041 MB / 1.355 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008598/1.498, allocations: 4.839 MB / 1.36 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003369/1.502, allocations: 1.737 MB / 1.362 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007934/1.51, allocations: 2.409 MB / 1.364 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004281/1.514, allocations: 1.632 MB / 1.366 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001038/1.515, allocations: 190.8 kB / 1.366 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008366/1.524, allocations: 3.145 MB / 1.369 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001914/1.526, allocations: 0.7256 MB / 1.37 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004735/1.53, allocations: 1.127 MB / 1.371 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/1.541, allocations: 4.001 MB / 1.375 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.541, allocations: 3.938 kB / 1.375 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.033e-06/1.541, allocations: 0 / 1.375 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001594/1.541, allocations: 0 / 1.375 GB, free: 11.27 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.00692/1.548, allocations: 2.436 MB / 1.377 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.548, allocations: 10.78 kB / 1.377 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004975/1.553, allocations: 0.637 MB / 1.378 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/1.556, allocations: 1.339 MB / 1.379 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/1.557, allocations: 98.48 kB / 1.379 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004277/1.557, allocations: 144.4 kB / 1.379 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/1.56, allocations: 1.572 MB / 1.381 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/1.56, allocations: 3.984 kB / 1.381 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/1.56, allocations: 57.62 kB / 1.381 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/1.56, allocations: 49.31 kB / 1.381 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/1.563, allocations: 1.273 MB / 1.382 GB, free: 7.023 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.008711/1.571, allocations: 7.217 MB / 1.389 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/1.572, allocations: 0.6483 MB / 1.39 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/1.573, allocations: 370.6 kB / 1.39 GB, free: 268 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/1.573, allocations: 106.7 kB / 1.39 GB, free: 164 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/1.573, allocations: 44.02 kB / 1.39 GB, free: 116 kB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00088/1.574, allocations: 127.2 kB / 1.391 GB, free: 40 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=67): time 4.528e-06/1.574, allocations: 4 kB / 1.391 GB, free: 36 kB / 0.9981 GB Notification: Performance of matching and sorting (n=67): time 0.002209/1.576, allocations: 1.02 MB / 1.392 GB, free: 15.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/1.576, allocations: 61.36 kB / 1.392 GB, free: 15.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/1.579, allocations: 1.345 MB / 1.393 GB, free: 14.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/1.579, allocations: 45.86 kB / 1.393 GB, free: 14.71 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008299/1.58, allocations: 0.7717 MB / 1.394 GB, free: 14.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000351/1.58, allocations: 239.2 kB / 1.394 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/1.58, allocations: 206.2 kB / 1.394 GB, free: 13.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.58, allocations: 344.1 kB / 1.394 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/1.581, allocations: 357.6 kB / 1.395 GB, free: 13.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009055/1.582, allocations: 0.6743 MB / 1.395 GB, free: 12.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/1.583, allocations: 0.9534 MB / 1.396 GB, free: 11.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/1.584, allocations: 6.453 kB / 1.396 GB, free: 11.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002065/1.586, allocations: 1.147 MB / 1.398 GB, free: 11.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/1.586, allocations: 13.64 kB / 1.398 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/1.586, allocations: 13.31 kB / 1.398 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/1.586, allocations: 14.88 kB / 1.398 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008701/1.587, allocations: 208.4 kB / 1.398 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.03e-05/1.587, allocations: 14.88 kB / 1.398 GB, free: 11.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/1.588, allocations: 137.2 kB / 1.398 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/1.588, allocations: 44.66 kB / 1.398 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001258/1.59, allocations: 0.6889 MB / 1.399 GB, free: 10.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008385/1.591, allocations: 0.6754 MB / 1.399 GB, free: 10.22 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001452/1.592, allocations: 0.9506 MB / 1.4 GB, free: 9.551 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/1.592, allocations: 0 / 1.4 GB, free: 9.551 MB / 1.014 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002078/1.594, allocations: 1.152 MB / 1.401 GB, free: 8.965 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.594, allocations: 7.844 kB / 1.401 GB, free: 8.965 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.594, allocations: 5.844 kB / 1.401 GB, free: 8.965 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.594, allocations: 10.91 kB / 1.401 GB, free: 8.965 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008383/1.595, allocations: 207.2 kB / 1.402 GB, free: 8.922 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-05/1.595, allocations: 29.41 kB / 1.402 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/1.597, allocations: 141.8 kB / 1.402 GB, free: 8.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/1.597, allocations: 41.67 kB / 1.402 GB, free: 8.828 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.0004631/1.598, allocations: 251.7 kB / 1.402 GB, free: 8.594 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/1.598, allocations: 156.4 kB / 1.402 GB, free: 8.512 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/1.6, allocations: 0.8159 MB / 1.403 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/1.6, allocations: 8.031 kB / 1.403 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.6, allocations: 0 / 1.403 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/1.601, allocations: 0.7888 MB / 1.404 GB, free: 7.496 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004753/1.606, allocations: 2.303 MB / 1.406 GB, free: 5.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.606, allocations: 6.891 kB / 1.406 GB, free: 5.914 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/1.606, allocations: 164.9 kB / 1.406 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/1.607, allocations: 5.031 kB / 1.406 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.309e-05/1.607, allocations: 19.41 kB / 1.406 GB, free: 5.867 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/1.607, allocations: 8.547 kB / 1.406 GB, free: 5.863 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.607, allocations: 2.312 kB / 1.406 GB, free: 5.863 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/1.609, allocations: 1.262 MB / 1.407 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009561/1.61, allocations: 315.3 kB / 1.408 GB, free: 4.246 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004145/1.61, allocations: 19.98 kB / 1.408 GB, free: 4.227 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.612, allocations: 98.53 kB / 1.408 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.612, allocations: 48.44 kB / 1.408 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.516e-05/1.612, allocations: 31.98 kB / 1.408 GB, free: 4.055 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001935/1.614, allocations: 0.9044 MB / 1.409 GB, free: 3.152 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.614, allocations: 4 kB / 1.409 GB, free: 3.148 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002956/1.617, allocations: 0.8496 MB / 1.41 GB, free: 2.297 MB / 1.014 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.0007384/1.618, allocations: 256.2 kB / 1.41 GB, free: 2.055 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002962/1.621, allocations: 1.448 MB / 1.411 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.621, allocations: 4 kB / 1.411 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006242/1.621, allocations: 347.5 kB / 1.412 GB, free: 268 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004541/1.626, allocations: 0.8384 MB / 1.412 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006031/1.632, allocations: 3.516 MB / 1.416 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/1.633, allocations: 1.344 MB / 1.417 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00202/1.635, allocations: 412.4 kB / 1.418 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/1.636, allocations: 119.4 kB / 1.418 GB, free: 9.984 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/1.636, allocations: 0 / 1.418 GB, free: 9.984 MB / 1.029 GB Notification: Performance of Templates: time 0.05343/1.689, allocations: 28.93 MB / 1.446 GB, free: 13.47 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)