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.363/1.363, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009969/0.0009969, allocations: 178.6 kB / 326.5 MB, free: 2.676 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.761/1.761, allocations: 205 MB / 0.5766 GB, free: 20.92 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.0008155/0.0008154, allocations: 91.67 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003738, allocations: 9.875 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.635/0.8145, allocations: 272.7 MB / 1.163 GB, free: 156 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.8338, allocations: 17.54 MB / 1.18 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.8365, allocations: 57.81 kB / 1.18 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003205/0.8397, allocations: 1.02 MB / 1.181 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008465/0.8482, allocations: 2.976 MB / 1.184 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005639/0.8538, allocations: 2.083 MB / 1.186 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008497/0.8624, allocations: 6.99 MB / 1.193 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0033/0.8657, allocations: 1.435 MB / 1.194 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006915/0.8726, allocations: 2.15 MB / 1.196 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00388/0.8765, allocations: 1.548 MB / 1.198 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005588/0.8771, allocations: 77 kB / 1.198 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006655/0.8838, allocations: 3.409 MB / 1.201 GB, free: 112 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.8849, allocations: 0.619 MB / 1.202 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001816/0.8867, allocations: 0.9912 MB / 1.203 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004335/0.8911, allocations: 2.867 MB / 1.206 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.8911, allocations: 0 / 1.206 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.19e-06/0.8911, allocations: 4 kB / 1.206 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.144e-05/0.8912, allocations: 0 / 1.206 GB, free: 11.62 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.004106/0.8953, allocations: 2.03 MB / 1.208 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.8954, allocations: 8.031 kB / 1.208 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004347/0.8997, allocations: 0.6572 MB / 1.208 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.902, allocations: 1.322 MB / 1.21 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/0.9021, allocations: 102.6 kB / 1.21 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.9023, allocations: 136 kB / 1.21 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.9049, allocations: 1.605 MB / 1.211 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/0.9049, allocations: 11.94 kB / 1.211 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.9051, allocations: 56 kB / 1.212 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.9051, allocations: 50.45 kB / 1.212 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.9072, allocations: 1.275 MB / 1.213 GB, free: 4.168 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.008432/0.9156, allocations: 7.237 MB / 1.22 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008747/0.9165, allocations: 0.6223 MB / 1.22 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/0.917, allocations: 372.8 kB / 1.221 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.9172, allocations: 105.7 kB / 1.221 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.9173, allocations: 51.06 kB / 1.221 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000686/0.918, allocations: 143 kB / 1.221 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=67): time 3.126e-06/0.918, allocations: 0 / 1.221 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67): time 0.001715/0.9197, allocations: 1.001 MB / 1.222 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.9197, allocations: 59.97 kB / 1.222 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.9213, allocations: 1.342 MB / 1.223 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.632e-05/0.9214, allocations: 45.7 kB / 1.224 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/0.922, allocations: 0.7617 MB / 1.224 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.9222, allocations: 244.5 kB / 1.224 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.9223, allocations: 89.66 kB / 1.225 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9224, allocations: 341.9 kB / 1.225 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004963/0.9229, allocations: 337.8 kB / 1.225 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007297/0.9237, allocations: 0.6433 MB / 1.226 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.9249, allocations: 0.9505 MB / 1.227 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.9249, allocations: 4 kB / 1.227 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001701/0.9266, allocations: 1.148 MB / 1.228 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.9268, allocations: 305.5 kB / 1.228 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.9268, allocations: 12 kB / 1.228 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.381e-05/0.9269, allocations: 12 kB / 1.228 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/0.9277, allocations: 203.7 kB / 1.228 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.9278, allocations: 15.98 kB / 1.228 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.9293, allocations: 141 kB / 1.229 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/0.9293, allocations: 36 kB / 1.229 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.9294, allocations: 6.5 kB / 1.229 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001401/0.9308, allocations: 0.9839 MB / 1.23 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.9308, allocations: 8 kB / 1.23 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.9308, allocations: 15.94 kB / 1.23 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007641/0.9316, allocations: 207.7 kB / 1.23 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.9316, allocations: 12 kB / 1.23 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.9329, allocations: 145.5 kB / 1.23 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/0.933, allocations: 43.98 kB / 1.23 GB, free: 1.609 MB / 0.7448 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.0007839/0.9338, allocations: 0.4929 MB / 1.23 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.9341, allocations: 154.2 kB / 1.231 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.9353, allocations: 0.8123 MB / 1.231 GB, free: 128 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.9354, allocations: 4 kB / 1.231 GB, free: 124 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.9354, allocations: 0 / 1.231 GB, free: 124 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009075/0.9363, allocations: 0.7746 MB / 1.232 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.9396, allocations: 2.306 MB / 1.234 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.9396, allocations: 0 / 1.234 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000792/0.9404, allocations: 171.8 kB / 1.235 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.9404, allocations: 7.938 kB / 1.235 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.9405, allocations: 20 kB / 1.235 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.9405, allocations: 4 kB / 1.235 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9405, allocations: 0 / 1.235 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.9422, allocations: 1.3 MB / 1.236 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005831/0.9428, allocations: 331.2 kB / 1.236 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.943, allocations: 20 kB / 1.236 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.944, allocations: 107.7 kB / 1.236 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.9441, allocations: 48.39 kB / 1.236 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/0.9442, allocations: 35.97 kB / 1.236 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001163/0.9454, allocations: 0.9079 MB / 1.237 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9454, allocations: 0 / 1.237 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001883/0.9473, allocations: 0.8573 MB / 1.238 GB, free: 9.062 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.0005039/0.9478, allocations: 268.7 kB / 1.238 GB, free: 8.797 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.9497, allocations: 1.312 MB / 1.24 GB, free: 7.488 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.9497, allocations: 0 / 1.24 GB, free: 7.488 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.9502, allocations: 343 kB / 1.24 GB, free: 7.152 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/0.9542, allocations: 0.8554 MB / 1.241 GB, free: 6.305 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/0.9589, allocations: 3.59 MB / 1.244 GB, free: 2.656 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000883/0.9599, allocations: 1.36 MB / 1.246 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/0.9603, allocations: 111.4 kB / 1.246 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of SimCode: time 9.21e-07/0.9603, allocations: 4 kB / 1.246 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of Templates: time 0.03759/0.9979, allocations: 24.95 MB / 1.27 GB, free: 8.328 MB / 0.7917 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)