Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.216/2.216, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001917/0.001917, allocations: 180.1 kB / 325.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.324/2.324, allocations: 205.4 MB / 0.5767 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009041/0.0009039, allocations: 101.1 kB / 0.6813 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005381/0.0005382, allocations: 17.8 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1998, allocations: 106.3 MB / 0.899 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.079/1.279, allocations: 251.3 MB / 1.144 GB, free: 3.164 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02963/1.309, allocations: 16.24 MB / 1.16 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003091/1.312, allocations: 54.56 kB / 1.16 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00395/1.316, allocations: 0.7581 MB / 1.161 GB, free: 2.789 MB / 0.698 GB [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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.009747/1.326, allocations: 2.368 MB / 1.163 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007191/1.333, allocations: 1.56 MB / 1.165 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009338/1.342, allocations: 5.922 MB / 1.171 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003199/1.346, allocations: 1.421 MB / 1.172 GB, free: 188 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00716/1.353, allocations: 1.998 MB / 1.174 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/1.357, allocations: 1.462 MB / 1.175 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006741/1.358, allocations: 79.12 kB / 1.176 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00726/1.365, allocations: 1.619 MB / 1.177 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001564/1.366, allocations: 0.6181 MB / 1.178 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/1.368, allocations: 436.3 kB / 1.178 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006275/1.374, allocations: 2.702 MB / 1.181 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.374, allocations: 0 / 1.181 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.006e-06/1.374, allocations: 0 / 1.181 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.229e-05/1.374, allocations: 0 / 1.181 GB, free: 12.76 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.00641/1.381, allocations: 2.049 MB / 1.183 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.381, allocations: 13.7 kB / 1.183 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007733/1.388, allocations: 0.6486 MB / 1.183 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/1.392, allocations: 1.278 MB / 1.185 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/1.392, allocations: 101.9 kB / 1.185 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003901/1.393, allocations: 136.9 kB / 1.185 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004163/1.397, allocations: 1.597 MB / 1.186 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.143e-05/1.397, allocations: 4 kB / 1.186 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/1.397, allocations: 62.78 kB / 1.187 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.558e-05/1.397, allocations: 45.42 kB / 1.187 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003453/1.401, allocations: 1.262 MB / 1.188 GB, free: 9.727 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.01475/1.416, allocations: 7.243 MB / 1.195 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/1.417, allocations: 0.6151 MB / 1.195 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00087/1.418, allocations: 361 kB / 1.196 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/1.418, allocations: 109.6 kB / 1.196 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/1.419, allocations: 43.12 kB / 1.196 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001395/1.42, allocations: 155 kB / 1.196 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 4.018e-06/1.42, allocations: 0 / 1.196 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.003085/1.423, allocations: 0.9969 MB / 1.197 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/1.423, allocations: 59.97 kB / 1.197 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/1.426, allocations: 1.323 MB / 1.198 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/1.426, allocations: 49.69 kB / 1.198 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008675/1.427, allocations: 0.7733 MB / 1.199 GB, free: 148 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/1.427, allocations: 240.6 kB / 1.199 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/1.428, allocations: 20 kB / 1.199 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.428, allocations: 349.9 kB / 1.2 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009464/1.429, allocations: 325.8 kB / 1.2 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/1.43, allocations: 0.647 MB / 1.201 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/1.431, allocations: 442.8 kB / 1.201 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/1.431, allocations: 0 / 1.201 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003106/1.434, allocations: 1.133 MB / 1.202 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002627/1.435, allocations: 309.2 kB / 1.203 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/1.435, allocations: 8 kB / 1.203 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.831e-05/1.435, allocations: 19.94 kB / 1.203 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/1.436, allocations: 203.7 kB / 1.203 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.003e-05/1.436, allocations: 19.92 kB / 1.203 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/1.439, allocations: 131.7 kB / 1.203 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/1.439, allocations: 43.98 kB / 1.203 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.44, allocations: 4 kB / 1.203 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002623/1.442, allocations: 0.9685 MB / 1.204 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.442, allocations: 8 kB / 1.204 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/1.442, allocations: 16.06 kB / 1.204 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.444, allocations: 207.7 kB / 1.204 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-05/1.444, allocations: 15.94 kB / 1.204 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/1.447, allocations: 126.5 kB / 1.204 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/1.447, allocations: 43.98 kB / 1.204 GB, free: 10.68 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.001334/1.448, allocations: 0.5006 MB / 1.205 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/1.449, allocations: 154.2 kB / 1.205 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/1.451, allocations: 0.8044 MB / 1.206 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.451, allocations: 4 kB / 1.206 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.451, allocations: 7.938 kB / 1.206 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001691/1.453, allocations: 0.7745 MB / 1.207 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00604/1.459, allocations: 2.298 MB / 1.209 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.459, allocations: 0 / 1.209 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/1.461, allocations: 176 kB / 1.209 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/1.461, allocations: 7.938 kB / 1.209 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/1.461, allocations: 20 kB / 1.209 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/1.461, allocations: 4 kB / 1.209 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.461, allocations: 0 / 1.209 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003135/1.464, allocations: 1.296 MB / 1.21 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.465, allocations: 339.2 kB / 1.211 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/1.465, allocations: 15.98 kB / 1.211 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/1.468, allocations: 111.1 kB / 1.211 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/1.468, allocations: 40.5 kB / 1.211 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/1.468, allocations: 35.98 kB / 1.211 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002023/1.47, allocations: 0.8962 MB / 1.212 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.92e-07/1.47, allocations: 0 / 1.212 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003318/1.473, allocations: 0.8534 MB / 1.212 GB, free: 2.148 MB / 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.0008265/1.474, allocations: 265.9 kB / 1.213 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003509/1.478, allocations: 1.296 MB / 1.214 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.478, allocations: 4 kB / 1.214 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00087/1.479, allocations: 344 kB / 1.214 GB, free: 264 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007863/1.486, allocations: 0.8488 MB / 1.215 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007807/1.494, allocations: 3.491 MB / 1.219 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/1.496, allocations: 1.352 MB / 1.22 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003049/1.499, allocations: 416.2 kB / 1.22 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/1.499, allocations: 111.4 kB / 1.22 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of SimCode: time 1.272e-06/1.499, allocations: 0 / 1.22 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of Templates: time 0.08178/1.581, allocations: 27.55 MB / 1.247 GB, free: 14.69 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)