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.001211/0.001211, allocations: 110.5 kB / 16.41 MB, free: 6.5 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.001271/0.001271, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8417/0.8417, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.64 kB / 0.5685 GB, free: 28.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1678, allocations: 77.94 MB / 0.6446 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.755/0.9228, allocations: 274.6 MB / 0.9128 GB, free: 8.855 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02714/0.95, allocations: 17.37 MB / 0.9297 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002995/0.953, allocations: 67.62 kB / 0.9298 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003745/0.9568, allocations: 1.165 MB / 0.9309 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009281/0.9662, allocations: 3.09 MB / 0.9339 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006186/0.9724, allocations: 2.222 MB / 0.9361 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008365/0.9807, allocations: 4.846 MB / 0.9408 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003617/0.9844, allocations: 1.772 MB / 0.9426 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007648/0.9921, allocations: 2.411 MB / 0.9449 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00365/0.9957, allocations: 1.535 MB / 0.9464 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008513/0.9966, allocations: 196 kB / 0.9466 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008571/1.005, allocations: 3.013 MB / 0.9496 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00151/1.007, allocations: 0.7207 MB / 0.9503 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002738/1.009, allocations: 1.12 MB / 0.9514 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008581/1.018, allocations: 3.851 MB / 0.9551 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.018, allocations: 0 / 0.9551 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/1.018, allocations: 0 / 0.9551 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001327/1.018, allocations: 0 / 0.9551 GB, free: 13.37 MB / 0.7169 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.006106/1.024, allocations: 2.487 MB / 0.9575 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.024, allocations: 12.62 kB / 0.9576 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004433/1.029, allocations: 0.6544 MB / 0.9582 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/1.031, allocations: 1.417 MB / 0.9596 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.442e-05/1.031, allocations: 102.5 kB / 0.9597 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/1.032, allocations: 140 kB / 0.9598 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/1.034, allocations: 1.561 MB / 0.9613 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.453e-05/1.034, allocations: 7.938 kB / 0.9613 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/1.034, allocations: 52 kB / 0.9614 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/1.034, allocations: 50.39 kB / 0.9614 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/1.036, allocations: 1.27 MB / 0.9627 GB, free: 5.414 MB / 0.7169 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.008395/1.045, allocations: 7.231 MB / 0.9697 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/1.046, allocations: 0.6466 MB / 0.9704 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/1.046, allocations: 366.4 kB / 0.9707 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/1.047, allocations: 105.6 kB / 0.9708 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/1.047, allocations: 51.12 kB / 0.9709 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005631/1.047, allocations: 99.38 kB / 0.971 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=67): time 2.685e-06/1.047, allocations: 0 / 0.971 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67): time 0.001893/1.049, allocations: 1.021 MB / 0.972 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/1.049, allocations: 56.08 kB / 0.972 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/1.051, allocations: 1.354 MB / 0.9733 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/1.051, allocations: 45.7 kB / 0.9734 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006047/1.052, allocations: 0.7908 MB / 0.9742 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/1.052, allocations: 249.9 kB / 0.9744 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003123/1.052, allocations: 206.5 kB / 0.9746 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.052, allocations: 349.9 kB / 0.9749 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/1.053, allocations: 360.7 kB / 0.9753 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008062/1.054, allocations: 0.6788 MB / 0.9759 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/1.055, allocations: 0.9489 MB / 0.9769 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.055, allocations: 4 kB / 0.9769 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001774/1.057, allocations: 1.152 MB / 0.978 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.057, allocations: 8 kB / 0.978 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.057, allocations: 8 kB / 0.978 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.864e-05/1.057, allocations: 15.94 kB / 0.978 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008463/1.058, allocations: 212.4 kB / 0.9782 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.817e-05/1.058, allocations: 19.94 kB / 0.9782 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/1.059, allocations: 51.92 kB / 0.9783 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.034e-05/1.059, allocations: 40 kB / 0.9783 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001113/1.06, allocations: 0.6854 MB / 0.979 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008051/1.061, allocations: 0.679 MB / 0.9797 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001207/1.062, allocations: 0.9449 MB / 0.9806 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.482e-06/1.062, allocations: 7.938 kB / 0.9806 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001697/1.064, allocations: 1.153 MB / 0.9817 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.064, allocations: 9.719 kB / 0.9817 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.064, allocations: 16.05 kB / 0.9817 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/1.064, allocations: 12 kB / 0.9818 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/1.065, allocations: 207.7 kB / 0.982 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/1.065, allocations: 19.92 kB / 0.982 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/1.066, allocations: 53.47 kB / 0.982 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/1.066, allocations: 43.98 kB / 0.9821 GB, free: 448 kB / 0.7325 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.0002672/1.066, allocations: 247.9 kB / 0.9823 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/1.067, allocations: 159 kB / 0.9825 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/1.068, allocations: 0.8163 MB / 0.9832 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/1.068, allocations: 8 kB / 0.9833 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.068, allocations: 0 / 0.9833 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/1.069, allocations: 0.7901 MB / 0.984 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/1.073, allocations: 2.306 MB / 0.9863 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.073, allocations: 0 / 0.9863 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/1.074, allocations: 172 kB / 0.9864 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/1.074, allocations: 4 kB / 0.9864 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.935e-05/1.074, allocations: 23.94 kB / 0.9865 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/1.074, allocations: 4 kB / 0.9865 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.074, allocations: 7.938 kB / 0.9865 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/1.076, allocations: 1.266 MB / 0.9877 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006015/1.076, allocations: 328.1 kB / 0.988 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/1.077, allocations: 15.94 kB / 0.988 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009486/1.077, allocations: 36.58 kB / 0.9881 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/1.078, allocations: 44.5 kB / 0.9881 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.069e-05/1.078, allocations: 35.98 kB / 0.9882 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001277/1.079, allocations: 0.9044 MB / 0.989 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.079, allocations: 0 / 0.989 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00224/1.081, allocations: 0.8461 MB / 0.9899 GB, free: 8.238 MB / 0.7481 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.000677/1.082, allocations: 258.7 kB / 0.9901 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002327/1.084, allocations: 1.343 MB / 0.9914 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.084, allocations: 0 / 0.9914 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005098/1.085, allocations: 351 kB / 0.9918 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/1.089, allocations: 0.8394 MB / 0.9926 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005381/1.094, allocations: 2.947 MB / 0.9955 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.095, allocations: 1.352 MB / 0.9968 GB, free: 1.094 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001718/1.097, allocations: 412.3 kB / 0.9972 GB, free: 0.6875 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/1.098, allocations: 119.4 kB / 0.9973 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of SimCode: time 9.31e-07/1.098, allocations: 0 / 0.9973 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of Templates: time 0.05382/1.151, allocations: 29.27 MB / 1.026 GB, free: 3.633 MB / 0.7794 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)