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.001104/0.001104, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001155/0.001155, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7596/0.7596, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 63.89 kB / 0.4906 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3799, allocations: 77.92 MB / 0.5667 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6196/0.9996, allocations: 271.4 MB / 0.8317 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02154/1.021, allocations: 17.24 MB / 0.8485 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003865/1.025, allocations: 62.72 kB / 0.8486 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003645/1.029, allocations: 1.04 MB / 0.8496 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008696/1.037, allocations: 2.911 MB / 0.8524 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005673/1.043, allocations: 2.037 MB / 0.8544 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006956/1.05, allocations: 4.856 MB / 0.8592 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002346/1.052, allocations: 1.73 MB / 0.8609 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0067/1.059, allocations: 2.41 MB / 0.8632 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003441/1.063, allocations: 1.648 MB / 0.8648 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006948/1.063, allocations: 192 kB / 0.865 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006147/1.07, allocations: 3.133 MB / 0.8681 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/1.071, allocations: 0.7294 MB / 0.8688 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002615/1.073, allocations: 1.119 MB / 0.8699 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007804/1.081, allocations: 4.009 MB / 0.8738 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.081, allocations: 8 kB / 0.8738 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.883e-06/1.081, allocations: 0 / 0.8738 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001041/1.081, allocations: 0 / 0.8738 GB, free: 10.8 MB / 0.5919 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.005486/1.087, allocations: 2.432 MB / 0.8762 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.087, allocations: 12.62 kB / 0.8762 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004701/1.091, allocations: 0.632 MB / 0.8768 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/1.094, allocations: 1.337 MB / 0.8781 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.389e-05/1.094, allocations: 105 kB / 0.8782 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/1.094, allocations: 143 kB / 0.8783 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/1.097, allocations: 1.572 MB / 0.8799 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/1.097, allocations: 3.094 kB / 0.8799 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/1.097, allocations: 60 kB / 0.8799 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.452e-05/1.097, allocations: 46.45 kB / 0.88 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/1.099, allocations: 1.269 MB / 0.8812 GB, free: 3.105 MB / 0.5919 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.008991/1.108, allocations: 7.21 MB / 0.8883 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/1.11, allocations: 0.6488 MB / 0.8889 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/1.11, allocations: 378.5 kB / 0.8892 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/1.11, allocations: 104 kB / 0.8893 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/1.111, allocations: 47.12 kB / 0.8894 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008685/1.111, allocations: 125.7 kB / 0.8895 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=67): time 3.857e-06/1.111, allocations: 0 / 0.8895 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67): time 0.002006/1.113, allocations: 1.02 MB / 0.8905 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/1.113, allocations: 63.97 kB / 0.8906 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/1.115, allocations: 1.339 MB / 0.8919 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.19e-05/1.115, allocations: 45.7 kB / 0.8919 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/1.116, allocations: 0.7716 MB / 0.8927 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/1.116, allocations: 247 kB / 0.8929 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/1.117, allocations: 205 kB / 0.8931 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.117, allocations: 341.9 kB / 0.8934 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/1.117, allocations: 352.7 kB / 0.8938 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008256/1.118, allocations: 0.687 MB / 0.8944 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/1.119, allocations: 0.9568 MB / 0.8954 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/1.119, allocations: 3 kB / 0.8954 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001954/1.121, allocations: 1.15 MB / 0.8965 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.121, allocations: 8 kB / 0.8965 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.121, allocations: 4 kB / 0.8965 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/1.121, allocations: 15.94 kB / 0.8965 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/1.122, allocations: 211.7 kB / 0.8967 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/1.122, allocations: 20.03 kB / 0.8967 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/1.124, allocations: 136.1 kB / 0.8969 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.353e-05/1.124, allocations: 43.98 kB / 0.8969 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001057/1.125, allocations: 0.6901 MB / 0.8976 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007937/1.126, allocations: 0.6788 MB / 0.8983 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001265/1.127, allocations: 0.9511 MB / 0.8992 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/1.127, allocations: 0 / 0.8992 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001862/1.129, allocations: 1.151 MB / 0.9003 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.129, allocations: 12.03 kB / 0.9003 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.129, allocations: 4 kB / 0.9003 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/1.129, allocations: 15.94 kB / 0.9003 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/1.13, allocations: 215.6 kB / 0.9005 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/1.13, allocations: 15.94 kB / 0.9006 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/1.132, allocations: 141.1 kB / 0.9007 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.217e-05/1.132, allocations: 40 kB / 0.9007 GB, free: 14.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002974/1.132, allocations: 236 kB / 0.901 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/1.132, allocations: 158.1 kB / 0.9011 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/1.134, allocations: 0.8279 MB / 0.9019 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/1.134, allocations: 8 kB / 0.9019 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.134, allocations: 0 / 0.9019 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009982/1.135, allocations: 0.7901 MB / 0.9027 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/1.139, allocations: 2.298 MB / 0.9049 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.139, allocations: 4 kB / 0.9049 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/1.14, allocations: 159.8 kB / 0.9051 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/1.14, allocations: 4 kB / 0.9051 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/1.14, allocations: 27.98 kB / 0.9051 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/1.14, allocations: 7.938 kB / 0.9051 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.14, allocations: 7.938 kB / 0.9051 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/1.141, allocations: 1.257 MB / 0.9064 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006148/1.142, allocations: 319.2 kB / 0.9067 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/1.142, allocations: 20 kB / 0.9067 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.143, allocations: 88.7 kB / 0.9068 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/1.143, allocations: 48.44 kB / 0.9068 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.049e-05/1.143, allocations: 35.98 kB / 0.9069 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001233/1.145, allocations: 0.9083 MB / 0.9077 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/1.145, allocations: 0 / 0.9077 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002066/1.147, allocations: 0.8444 MB / 0.9086 GB, free: 5.957 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 (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.0005975/1.147, allocations: 271 kB / 0.9088 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002569/1.15, allocations: 1.444 MB / 0.9102 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.15, allocations: 0 / 0.9102 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004987/1.15, allocations: 347 kB / 0.9106 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/1.154, allocations: 0.8361 MB / 0.9114 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/1.159, allocations: 3.526 MB / 0.9148 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008985/1.16, allocations: 1.348 MB / 0.9161 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00169/1.162, allocations: 416.4 kB / 0.9165 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/1.162, allocations: 119.4 kB / 0.9167 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/1.162, allocations: 0 / 0.9167 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of Templates: time 0.06227/1.224, allocations: 28.91 MB / 0.9449 GB, free: 1.164 MB / 0.6544 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)