Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.618/2.618, allocations: 287.5 MB / 302.4 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 176.8 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.4 MB / 0.6297 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008843/0.0008842, allocations: 92.84 kB / 0.743 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004883, allocations: 13.55 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.208, allocations: 115.3 MB / 0.9783 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.052/1.261, allocations: 250.8 MB / 1.223 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.03344/1.294, allocations: 16.11 MB / 1.239 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/1.297, allocations: 55.62 kB / 1.239 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004127/1.301, allocations: 0.7491 MB / 1.24 GB, free: 364 kB / 0.7605 GB [/home/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. [/home/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. [/home/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. [/home/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.0101/1.311, allocations: 2.298 MB / 1.242 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.007365/1.319, allocations: 1.539 MB / 1.243 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01096/1.33, allocations: 5.653 MB / 1.249 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003454/1.333, allocations: 1.302 MB / 1.25 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007042/1.34, allocations: 1.918 MB / 1.252 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003894/1.344, allocations: 1.44 MB / 1.254 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0006887/1.345, allocations: 76 kB / 1.254 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007266/1.352, allocations: 1.621 MB / 1.255 GB, free: 468 kB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001536/1.354, allocations: 0.5957 MB / 1.256 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001198/1.355, allocations: 432.7 kB / 1.256 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.006193/1.361, allocations: 2.63 MB / 1.259 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/1.361, allocations: 4 kB / 1.259 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.886e-06/1.361, allocations: 0 / 1.259 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.558e-05/1.361, allocations: 0 / 1.259 GB, free: 12.79 MB / 0.7917 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.006305/1.368, allocations: 2.05 MB / 1.261 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.368, allocations: 8.031 kB / 1.261 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007734/1.376, allocations: 0.6534 MB / 1.261 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003831/1.379, allocations: 1.269 MB / 1.263 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/1.38, allocations: 110.5 kB / 1.263 GB, free: 8.574 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004199/1.38, allocations: 132 kB / 1.263 GB, free: 8.445 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004623/1.385, allocations: 1.557 MB / 1.264 GB, free: 6.82 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/1.385, allocations: 0 / 1.264 GB, free: 6.82 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/1.385, allocations: 60 kB / 1.264 GB, free: 6.762 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.075e-05/1.385, allocations: 46.44 kB / 1.265 GB, free: 6.715 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005391/1.391, allocations: 1.266 MB / 1.266 GB, free: 5.441 MB / 0.7917 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.01521/1.406, allocations: 7.214 MB / 1.273 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/1.408, allocations: 0.6449 MB / 1.273 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/1.41, allocations: 370.4 kB / 1.274 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/1.41, allocations: 109.6 kB / 1.274 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.704e-05/1.41, allocations: 43.12 kB / 1.274 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00228/1.413, allocations: 147 kB / 1.274 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=67): time 7.114e-06/1.413, allocations: 0 / 1.274 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=67): time 0.005978/1.419, allocations: 1.013 MB / 1.275 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/1.419, allocations: 59.97 kB / 1.275 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003733/1.423, allocations: 1.319 MB / 1.276 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002512/1.423, allocations: 45.7 kB / 1.276 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/1.424, allocations: 0.7697 MB / 1.277 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000531/1.425, allocations: 248.5 kB / 1.277 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/1.425, allocations: 20 kB / 1.277 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002098/1.425, allocations: 345.9 kB / 1.278 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/1.426, allocations: 341.8 kB / 1.278 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/1.428, allocations: 0.6712 MB / 1.279 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/1.429, allocations: 450.8 kB / 1.279 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/1.429, allocations: 0 / 1.279 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003362/1.432, allocations: 1.144 MB / 1.28 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002885/1.433, allocations: 291.9 kB / 1.281 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/1.433, allocations: 8 kB / 1.281 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.209e-05/1.433, allocations: 12 kB / 1.281 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.435, allocations: 215.7 kB / 1.281 GB, free: 5.121 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.379e-05/1.435, allocations: 15.98 kB / 1.281 GB, free: 5.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002965/1.438, allocations: 128.9 kB / 1.281 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/1.438, allocations: 43.98 kB / 1.281 GB, free: 4.938 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.438, allocations: 8.281 kB / 1.281 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002743/1.441, allocations: 0.9725 MB / 1.282 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/1.441, allocations: 8 kB / 1.282 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/1.441, allocations: 15.94 kB / 1.282 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/1.443, allocations: 219.7 kB / 1.282 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.218e-05/1.443, allocations: 12 kB / 1.282 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/1.446, allocations: 131.5 kB / 1.282 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/1.446, allocations: 40 kB / 1.282 GB, free: 3.543 MB / 0.8073 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.001277/1.447, allocations: 496.8 kB / 1.283 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005053/1.448, allocations: 158.2 kB / 1.283 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/1.45, allocations: 0.8123 MB / 1.284 GB, free: 2.059 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/1.45, allocations: 8 kB / 1.284 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.45, allocations: 0 / 1.284 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001762/1.452, allocations: 0.7785 MB / 1.285 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006449/1.459, allocations: 2.29 MB / 1.287 GB, free: 14.85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.459, allocations: 0 / 1.287 GB, free: 14.85 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/1.46, allocations: 172 kB / 1.287 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/1.46, allocations: 8 kB / 1.287 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/1.461, allocations: 23.98 kB / 1.287 GB, free: 14.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/1.461, allocations: 4 kB / 1.287 GB, free: 14.65 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.461, allocations: 0 / 1.287 GB, free: 14.65 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003282/1.464, allocations: 1.308 MB / 1.288 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/1.465, allocations: 319.3 kB / 1.289 GB, free: 12.97 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004005/1.466, allocations: 12 kB / 1.289 GB, free: 12.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/1.468, allocations: 100.7 kB / 1.289 GB, free: 12.86 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.468, allocations: 40.45 kB / 1.289 GB, free: 12.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/1.468, allocations: 39.91 kB / 1.289 GB, free: 12.79 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002269/1.47, allocations: 0.8924 MB / 1.29 GB, free: 11.89 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.565e-06/1.47, allocations: 4 kB / 1.29 GB, free: 11.89 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003811/1.474, allocations: 0.8495 MB / 1.29 GB, free: 11.04 MB / 0.823 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.0008661/1.475, allocations: 255.1 kB / 1.291 GB, free: 10.79 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003817/1.479, allocations: 1.31 MB / 1.292 GB, free: 9.484 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.479, allocations: 0 / 1.292 GB, free: 9.484 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009681/1.48, allocations: 348.5 kB / 1.292 GB, free: 9.141 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007799/1.488, allocations: 0.8557 MB / 1.293 GB, free: 8.293 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008487/1.496, allocations: 3.458 MB / 1.297 GB, free: 4.785 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/1.498, allocations: 1.349 MB / 1.298 GB, free: 3.406 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003198/1.501, allocations: 412.4 kB / 1.298 GB, free: 2.996 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006773/1.502, allocations: 107.4 kB / 1.298 GB, free: 2.891 MB / 0.823 GB Notification: Performance of SimCode: time 2.074e-06/1.502, allocations: 4 kB / 1.298 GB, free: 2.887 MB / 0.823 GB Notification: Performance of Templates: time 0.08755/1.59, allocations: 27.34 MB / 1.325 GB, free: 7.797 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)