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: 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, allocations: 252 MB / 267.6 MB, free: 10.91 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.001526/0.001526, allocations: 178.1 kB / 327.3 MB, free: 2.215 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.792/1.792, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0007854/0.0007856, allocations: 101.9 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004437, allocations: 9.938 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2362, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8329/1.069, allocations: 251.3 MB / 1.146 GB, free: 3.012 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0235/1.093, allocations: 16.25 MB / 1.162 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003483/1.096, allocations: 52.06 kB / 1.162 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003626/1.1, allocations: 0.7681 MB / 1.163 GB, free: 2.395 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008903/1.109, allocations: 2.363 MB / 1.165 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005739/1.115, allocations: 1.558 MB / 1.167 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009317/1.124, allocations: 5.998 MB / 1.173 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002944/1.127, allocations: 1.332 MB / 1.174 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005865/1.133, allocations: 1.978 MB / 1.176 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003481/1.136, allocations: 1.463 MB / 1.177 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004253/1.137, allocations: 81.81 kB / 1.177 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005708/1.143, allocations: 1.62 MB / 1.179 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0009707/1.144, allocations: 0.6219 MB / 1.18 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/1.145, allocations: 440.4 kB / 1.18 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004442/1.149, allocations: 2.692 MB / 1.183 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.149, allocations: 0 / 1.183 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.274e-06/1.149, allocations: 0 / 1.183 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.875e-05/1.149, allocations: 2.906 kB / 1.183 GB, free: 11.84 MB / 0.7136 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.004221/1.153, allocations: 2.061 MB / 1.185 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/1.153, allocations: 8.312 kB / 1.185 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004309/1.158, allocations: 0.6542 MB / 1.185 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/1.16, allocations: 1.272 MB / 1.186 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/1.16, allocations: 104.4 kB / 1.187 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/1.16, allocations: 137.3 kB / 1.187 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/1.163, allocations: 1.598 MB / 1.188 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/1.163, allocations: 2.312 kB / 1.188 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/1.163, allocations: 56.44 kB / 1.188 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.368e-05/1.163, allocations: 52.31 kB / 1.188 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/1.165, allocations: 1.262 MB / 1.19 GB, free: 8.805 MB / 0.7136 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.009584/1.175, allocations: 7.237 MB / 1.197 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009909/1.176, allocations: 0.6185 MB / 1.197 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/1.176, allocations: 359 kB / 1.198 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002069/1.177, allocations: 113.6 kB / 1.198 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/1.177, allocations: 43.12 kB / 1.198 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001003/1.178, allocations: 151 kB / 1.198 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 2.916e-06/1.178, allocations: 0 / 1.198 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.001918/1.18, allocations: 0.993 MB / 1.199 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/1.18, allocations: 67.92 kB / 1.199 GB, free: 484 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/1.182, allocations: 1.322 MB / 1.2 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.106e-05/1.182, allocations: 45.7 kB / 1.2 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006388/1.182, allocations: 0.7617 MB / 1.201 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/1.183, allocations: 252.5 kB / 1.201 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/1.183, allocations: 16 kB / 1.201 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.183, allocations: 341.9 kB / 1.202 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/1.183, allocations: 333.8 kB / 1.202 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/1.184, allocations: 0.6394 MB / 1.203 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/1.185, allocations: 442.8 kB / 1.203 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/1.185, allocations: 4 kB / 1.203 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001834/1.187, allocations: 1.125 MB / 1.204 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002397/1.187, allocations: 309.2 kB / 1.204 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.187, allocations: 8 kB / 1.204 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/1.187, allocations: 15.95 kB / 1.204 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009189/1.188, allocations: 207.7 kB / 1.205 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/1.188, allocations: 23.86 kB / 1.205 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.19, allocations: 135.1 kB / 1.205 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/1.19, allocations: 43.98 kB / 1.205 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/1.19, allocations: 4 kB / 1.205 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001512/1.191, allocations: 0.9685 MB / 1.206 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.191, allocations: 8 kB / 1.206 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/1.191, allocations: 16.12 kB / 1.206 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008224/1.192, allocations: 203.7 kB / 1.206 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/1.192, allocations: 15.94 kB / 1.206 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.194, allocations: 134.5 kB / 1.206 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.211e-05/1.194, allocations: 39.98 kB / 1.206 GB, free: 8.848 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009671/1.195, allocations: 0.5006 MB / 1.207 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/1.195, allocations: 158.2 kB / 1.207 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/1.197, allocations: 0.8044 MB / 1.208 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/1.197, allocations: 8 kB / 1.208 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.197, allocations: 0 / 1.208 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/1.198, allocations: 0.7745 MB / 1.208 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004271/1.202, allocations: 2.302 MB / 1.211 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.202, allocations: 4 kB / 1.211 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008967/1.203, allocations: 172 kB / 1.211 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/1.203, allocations: 4 kB / 1.211 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/1.203, allocations: 20 kB / 1.211 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/1.203, allocations: 4.625 kB / 1.211 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.203, allocations: 7.953 kB / 1.211 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/1.205, allocations: 1.288 MB / 1.212 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000834/1.206, allocations: 331.2 kB / 1.212 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/1.206, allocations: 19.98 kB / 1.212 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.207, allocations: 106.5 kB / 1.212 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/1.207, allocations: 56.38 kB / 1.213 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/1.208, allocations: 31.98 kB / 1.213 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001289/1.209, allocations: 0.9001 MB / 1.213 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.209, allocations: 0 / 1.213 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002229/1.211, allocations: 0.8534 MB / 1.214 GB, free: 328 kB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000694/1.212, allocations: 256.8 kB / 1.214 GB, free: 68 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002104/1.214, allocations: 1.296 MB / 1.216 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.214, allocations: 4.812 kB / 1.216 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004574/1.214, allocations: 351.2 kB / 1.216 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004006/1.218, allocations: 0.8492 MB / 1.217 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/1.224, allocations: 3.578 MB / 1.22 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/1.226, allocations: 1.352 MB / 1.222 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/1.226, allocations: 119.4 kB / 1.222 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of SimCode: time 1.613e-06/1.226, allocations: 4 kB / 1.222 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of Templates: time 0.04439/1.271, allocations: 24.97 MB / 1.246 GB, free: 15.59 MB / 0.7761 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)