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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 100.1 kB / 15.05 MB, free: 1.105 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: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 251.9 MB / 0.51 GB, free: 4.906 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005783/0.0005785, allocations: 16 kB / 0.6241 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.656/0.6566, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8608/1.518, allocations: 224.2 MB / 0.9469 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02309/1.541, allocations: 15.9 MB / 0.9624 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003706/1.544, allocations: 49.72 kB / 0.9624 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004701/1.549, allocations: 1.011 MB / 0.9634 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01152/1.561, allocations: 3.006 MB / 0.9664 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006926/1.568, allocations: 1.82 MB / 0.9681 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006409/1.574, allocations: 2.806 MB / 0.9709 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/1.576, allocations: 1.355 MB / 0.9722 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004362/1.581, allocations: 1.637 MB / 0.9738 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/1.583, allocations: 0.9562 MB / 0.9747 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002869/1.583, allocations: 74 kB / 0.9748 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004549/1.588, allocations: 1.321 MB / 0.9761 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007738/1.589, allocations: 0.5583 MB / 0.9766 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008919/1.589, allocations: 440.8 kB / 0.9771 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004125/1.594, allocations: 2.513 MB / 0.9795 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.594, allocations: 0 / 0.9795 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.015e-06/1.594, allocations: 0 / 0.9795 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.052e-05/1.594, allocations: 0 / 0.9795 GB, free: 4.156 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004302/1.598, allocations: 1.997 MB / 0.9815 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.598, allocations: 9.031 kB / 0.9815 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004111/1.602, allocations: 0.6549 MB / 0.9821 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/1.605, allocations: 1.271 MB / 0.9834 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/1.605, allocations: 104.6 kB / 0.9835 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/1.605, allocations: 139.8 kB / 0.9836 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/1.608, allocations: 1.578 MB / 0.9851 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/1.608, allocations: 5.875 kB / 0.9851 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/1.608, allocations: 62.17 kB / 0.9852 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/1.608, allocations: 50.25 kB / 0.9852 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/1.61, allocations: 1.263 MB / 0.9865 GB, free: 17.89 MB / 0.7325 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.009861/1.62, allocations: 7.244 MB / 0.9936 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008552/1.621, allocations: 0.6157 MB / 0.9942 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.995e-05/1.621, allocations: 14.58 kB / 0.9942 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/1.621, allocations: 50.16 kB / 0.9942 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009308/1.622, allocations: 146.8 kB / 0.9944 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=67): time 3.246e-06/1.622, allocations: 0 / 0.9944 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67): time 0.001734/1.624, allocations: 0.9971 MB / 0.9953 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/1.624, allocations: 58.16 kB / 0.9954 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/1.625, allocations: 1.327 MB / 0.9967 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/1.625, allocations: 49.83 kB / 0.9967 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004976/1.626, allocations: 0.7665 MB / 0.9975 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/1.626, allocations: 243.2 kB / 0.9977 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/1.626, allocations: 24.47 kB / 0.9977 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.626, allocations: 345.8 kB / 0.9981 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/1.627, allocations: 333.8 kB / 0.9984 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007429/1.628, allocations: 0.6302 MB / 0.999 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/1.628, allocations: 450.8 kB / 0.9994 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.628, allocations: 3.344 kB / 0.9994 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001568/1.63, allocations: 1.115 MB / 1.001 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.001207/1.631, allocations: 2.85 MB / 1.003 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/1.631, allocations: 6.25 kB / 1.003 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/1.631, allocations: 14.97 kB / 1.003 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008853/1.632, allocations: 208 kB / 1.004 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/1.632, allocations: 19.2 kB / 1.004 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/1.634, allocations: 131 kB / 1.004 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/1.634, allocations: 45.8 kB / 1.004 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/1.634, allocations: 7.219 kB / 1.004 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/1.635, allocations: 0.9702 MB / 1.005 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.635, allocations: 6.469 kB / 1.005 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.635, allocations: 14.34 kB / 1.005 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/1.636, allocations: 204.4 kB / 1.005 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/1.636, allocations: 16.31 kB / 1.005 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/1.638, allocations: 137.7 kB / 1.005 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/1.638, allocations: 36.09 kB / 1.005 GB, free: 7.285 MB / 0.7325 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.0008951/1.639, allocations: 0.5 MB / 1.006 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/1.639, allocations: 151.3 kB / 1.006 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/1.64, allocations: 0.8045 MB / 1.006 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/1.64, allocations: 6.281 kB / 1.006 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.64, allocations: 0 / 1.006 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009183/1.641, allocations: 0.7762 MB / 1.007 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/1.645, allocations: 2.305 MB / 1.009 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.645, allocations: 3.938 kB / 1.009 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007771/1.645, allocations: 170.4 kB / 1.01 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/1.645, allocations: 3.531 kB / 1.01 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/1.646, allocations: 22.58 kB / 1.01 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.646, allocations: 5.25 kB / 1.01 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.646, allocations: 8.797 kB / 1.01 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/1.647, allocations: 1.375 MB / 1.011 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007088/1.648, allocations: 334.8 kB / 1.011 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/1.648, allocations: 19.98 kB / 1.011 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.649, allocations: 115 kB / 1.011 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.839e-05/1.649, allocations: 44.25 kB / 1.012 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.711e-05/1.649, allocations: 37.45 kB / 1.012 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001206/1.651, allocations: 0.8934 MB / 1.012 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.651, allocations: 0 / 1.012 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002157/1.653, allocations: 0.8545 MB / 1.013 GB, free: 4.461 MB / 0.7325 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.0005643/1.653, allocations: 267.2 kB / 1.014 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00202/1.655, allocations: 1.298 MB / 1.015 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.655, allocations: 1.859 kB / 1.015 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004097/1.656, allocations: 342.8 kB / 1.015 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004193/1.66, allocations: 0.8338 MB / 1.016 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005556/1.666, allocations: 3.486 MB / 1.019 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.667, allocations: 1.394 MB / 1.021 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002189/1.669, allocations: 416.2 kB / 1.021 GB, free: 316 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/1.669, allocations: 110.7 kB / 1.021 GB, free: 208 kB / 0.7325 GB Notification: Performance of SimCode: time 1.443e-06/1.669, allocations: 0 / 1.021 GB, free: 208 kB / 0.7325 GB Notification: Performance of Templates: time 0.04876/1.718, allocations: 27.52 MB / 1.048 GB, free: 5.168 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: