Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009269/0.0009268, allocations: 95.56 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 172.9 kB / 16.57 MB, free: 6.391 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.318/1.318, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6885/0.6885, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 13.61 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 77.15 MB / 0.5568 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.4621/0.5992, allocations: 223.7 MB / 0.7753 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.619, allocations: 15.85 MB / 0.7908 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.6211, allocations: 55.62 kB / 0.7908 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002887/0.624, allocations: 0.9994 MB / 0.7918 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007812/0.6319, allocations: 3.018 MB / 0.7947 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004681/0.6366, allocations: 1.767 MB / 0.7965 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004669/0.6412, allocations: 2.726 MB / 0.7991 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/0.6432, allocations: 1.327 MB / 0.8004 GB, free: 372 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003693/0.647, allocations: 1.593 MB / 0.802 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.6485, allocations: 0.9493 MB / 0.8029 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002026/0.6488, allocations: 72 kB / 0.803 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/0.6522, allocations: 1.326 MB / 0.8043 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000605/0.6528, allocations: 0.5453 MB / 0.8048 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005697/0.6534, allocations: 428.8 kB / 0.8052 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003469/0.6569, allocations: 2.459 MB / 0.8076 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6569, allocations: 0 / 0.8076 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.236e-06/0.6569, allocations: 0 / 0.8076 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.002e-05/0.657, allocations: 0 / 0.8076 GB, free: 8.977 MB / 0.6231 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.004128/0.6611, allocations: 2 MB / 0.8096 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.6612, allocations: 8.031 kB / 0.8096 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004265/0.6654, allocations: 0.6573 MB / 0.8102 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.6677, allocations: 1.273 MB / 0.8115 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.967e-05/0.6678, allocations: 102.5 kB / 0.8116 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.668, allocations: 140 kB / 0.8117 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.6705, allocations: 1.553 MB / 0.8132 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.6706, allocations: 0 / 0.8132 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.6707, allocations: 56 kB / 0.8133 GB, free: 3 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-05/0.6708, allocations: 46.45 kB / 0.8133 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.6728, allocations: 1.266 MB / 0.8145 GB, free: 1.68 MB / 0.6231 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.2923/0.9652, allocations: 7.218 MB / 0.8216 GB, free: 125.3 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.9664, allocations: 0.6474 MB / 0.8222 GB, free: 125.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.24e-05/0.9665, allocations: 22.84 kB / 0.8222 GB, free: 125.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.9665, allocations: 42.8 kB / 0.8223 GB, free: 125.2 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007949/0.9673, allocations: 147.2 kB / 0.8224 GB, free: 125.2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=67): time 2.795e-06/0.9673, allocations: 0.6875 kB / 0.8224 GB, free: 125.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67): time 0.002008/0.9693, allocations: 1.014 MB / 0.8234 GB, free: 125.1 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.9694, allocations: 59.41 kB / 0.8235 GB, free: 125 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.9713, allocations: 1.328 MB / 0.8248 GB, free: 124.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.14e-05/0.9714, allocations: 47.88 kB / 0.8248 GB, free: 124.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005397/0.972, allocations: 0.7734 MB / 0.8256 GB, free: 124.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.9722, allocations: 240.2 kB / 0.8258 GB, free: 124.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.9722, allocations: 20.31 kB / 0.8258 GB, free: 124.4 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.9723, allocations: 351.2 kB / 0.8261 GB, free: 124.1 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.973, allocations: 345 kB / 0.8265 GB, free: 124.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008663/0.9738, allocations: 0.6716 MB / 0.8271 GB, free: 123.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008179/0.9747, allocations: 458.8 kB / 0.8276 GB, free: 123.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.9747, allocations: 1.812 kB / 0.8276 GB, free: 123.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001956/0.9766, allocations: 1.139 MB / 0.8287 GB, free: 123.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004426/0.9771, allocations: 2.677 MB / 0.8313 GB, free: 120.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.9771, allocations: 7.406 kB / 0.8313 GB, free: 120.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.9772, allocations: 11.81 kB / 0.8313 GB, free: 120.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009378/0.9781, allocations: 211.8 kB / 0.8315 GB, free: 120.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/0.9781, allocations: 16.08 kB / 0.8315 GB, free: 120.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.9798, allocations: 144.8 kB / 0.8317 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.154e-05/0.9799, allocations: 40.45 kB / 0.8317 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.9799, allocations: 5.438 kB / 0.8317 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001578/0.9815, allocations: 0.9761 MB / 0.8327 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.9815, allocations: 8.984 kB / 0.8327 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.9815, allocations: 12.31 kB / 0.8327 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008885/0.9824, allocations: 209.8 kB / 0.8329 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.9825, allocations: 19.73 kB / 0.8329 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.9839, allocations: 134.5 kB / 0.833 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/0.984, allocations: 43.7 kB / 0.8331 GB, free: 120.8 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008718/0.9849, allocations: 0.4915 MB / 0.8336 GB, free: 120.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.9851, allocations: 152.9 kB / 0.8337 GB, free: 120.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.9866, allocations: 0.8182 MB / 0.8345 GB, free: 120.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.9866, allocations: 7.156 kB / 0.8345 GB, free: 120.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.9866, allocations: 0.5 kB / 0.8345 GB, free: 120.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009474/0.9876, allocations: 0.7873 MB / 0.8353 GB, free: 120.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.9911, allocations: 2.303 MB / 0.8375 GB, free: 119.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.9912, allocations: 2.219 kB / 0.8375 GB, free: 119.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008903/0.9921, allocations: 167.6 kB / 0.8377 GB, free: 119.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.9921, allocations: 6.906 kB / 0.8377 GB, free: 119.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.9921, allocations: 15.84 kB / 0.8377 GB, free: 119.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.258e-06/0.9922, allocations: 6.641 kB / 0.8377 GB, free: 119.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.9922, allocations: 5.562 kB / 0.8377 GB, free: 119.8 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.994, allocations: 1.345 MB / 0.839 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000692/0.9947, allocations: 316.9 kB / 0.8393 GB, free: 119.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.9949, allocations: 16.59 kB / 0.8394 GB, free: 119.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.9959, allocations: 100.8 kB / 0.8395 GB, free: 119.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/0.996, allocations: 45.41 kB / 0.8395 GB, free: 119.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.928e-05/0.9961, allocations: 32.48 kB / 0.8395 GB, free: 119.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001209/0.9973, allocations: 0.8936 MB / 0.8404 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.323e-06/0.9973, allocations: 1.859 kB / 0.8404 GB, free: 119.1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002072/0.9994, allocations: 0.8501 MB / 0.8412 GB, free: 119 MB / 0.6231 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 (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.0005339/1, allocations: 257.3 kB / 0.8415 GB, free: 118.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002108/1.002, allocations: 1.322 MB / 0.8428 GB, free: 118.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.002, allocations: 1.812 kB / 0.8428 GB, free: 118.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/1.003, allocations: 347.9 kB / 0.8431 GB, free: 118.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/1.006, allocations: 0.8242 MB / 0.8439 GB, free: 118.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/1.01, allocations: 3.486 MB / 0.8473 GB, free: 117.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/1.011, allocations: 1.38 MB / 0.8487 GB, free: 116.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00169/1.013, allocations: 417.1 kB / 0.8491 GB, free: 116.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/1.013, allocations: 121.4 kB / 0.8492 GB, free: 116.3 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/1.013, allocations: 0 / 0.8492 GB, free: 116.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.03578/1.049, allocations: 27.07 MB / 0.8756 GB, free: 94.16 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)