Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001246/0.001246, allocations: 197.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.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.001273/0.001273, allocations: 69.17 kB / 0.6708 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2544, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7421/0.9965, allocations: 272.5 MB / 1.049 GB, free: 11 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02576/1.022, allocations: 17.38 MB / 1.066 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003467/1.026, allocations: 62.19 kB / 1.066 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003776/1.03, allocations: 0.9946 MB / 1.067 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007881/1.038, allocations: 2.909 MB / 1.07 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005281/1.043, allocations: 2.02 MB / 1.072 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008904/1.052, allocations: 6.73 MB / 1.078 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002084/1.054, allocations: 1.46 MB / 1.08 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005705/1.06, allocations: 2.116 MB / 1.082 GB, free: 256 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003239/1.063, allocations: 1.59 MB / 1.083 GB, free: 14.66 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003062/1.063, allocations: 96 kB / 1.083 GB, free: 14.57 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007245/1.07, allocations: 3.417 MB / 1.087 GB, free: 11.14 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/1.072, allocations: 0.6308 MB / 1.087 GB, free: 10.51 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001648/1.073, allocations: 1.022 MB / 1.088 GB, free: 9.48 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007869/1.081, allocations: 3.918 MB / 1.092 GB, free: 5.551 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.081, allocations: 0 / 1.092 GB, free: 5.551 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.152e-06/1.081, allocations: 0 / 1.092 GB, free: 5.551 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.512e-05/1.081, allocations: 0 / 1.092 GB, free: 5.551 MB / 0.795 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.004302/1.086, allocations: 2.427 MB / 1.094 GB, free: 3.055 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.086, allocations: 12.03 kB / 1.094 GB, free: 3.043 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004593/1.09, allocations: 0.6299 MB / 1.095 GB, free: 2.41 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/1.092, allocations: 1.33 MB / 1.096 GB, free: 1.023 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.759e-05/1.092, allocations: 98.55 kB / 1.096 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/1.093, allocations: 140 kB / 1.097 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/1.095, allocations: 1.573 MB / 1.098 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/1.095, allocations: 3.938 kB / 1.098 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/1.095, allocations: 59.94 kB / 1.098 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/1.095, allocations: 54.39 kB / 1.098 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/1.097, allocations: 1.255 MB / 1.099 GB, free: 13.77 MB / 0.8106 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.008127/1.106, allocations: 7.206 MB / 1.107 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/1.107, allocations: 0.6528 MB / 1.107 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/1.107, allocations: 373.3 kB / 1.107 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/1.107, allocations: 109.6 kB / 1.108 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/1.107, allocations: 43.12 kB / 1.108 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006816/1.108, allocations: 147 kB / 1.108 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=67): time 2.625e-06/1.108, allocations: 0 / 1.108 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=67): time 0.001814/1.11, allocations: 1.013 MB / 1.109 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/1.11, allocations: 59.97 kB / 1.109 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/1.111, allocations: 1.335 MB / 1.11 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.466e-05/1.112, allocations: 49.64 kB / 1.11 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005277/1.112, allocations: 0.7735 MB / 1.111 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/1.112, allocations: 240.6 kB / 1.111 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/1.113, allocations: 206.4 kB / 1.111 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.113, allocations: 345.9 kB / 1.112 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/1.113, allocations: 360.7 kB / 1.112 GB, free: 244 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007923/1.114, allocations: 0.6781 MB / 1.113 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/1.115, allocations: 0.9566 MB / 1.114 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/1.115, allocations: 4 kB / 1.114 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001691/1.117, allocations: 1.14 MB / 1.115 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.117, allocations: 11.98 kB / 1.115 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.117, allocations: 4 kB / 1.115 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/1.117, allocations: 12.75 kB / 1.115 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009024/1.118, allocations: 207.7 kB / 1.115 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/1.118, allocations: 20.27 kB / 1.115 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.12, allocations: 129.4 kB / 1.115 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/1.12, allocations: 47.97 kB / 1.115 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009993/1.121, allocations: 0.6814 MB / 1.116 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007498/1.121, allocations: 0.6796 MB / 1.116 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001166/1.123, allocations: 0.9527 MB / 1.117 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/1.123, allocations: 3.938 kB / 1.117 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001646/1.124, allocations: 1.144 MB / 1.119 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.124, allocations: 12.11 kB / 1.119 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.124, allocations: 8 kB / 1.119 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/1.124, allocations: 12 kB / 1.119 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008166/1.125, allocations: 207.7 kB / 1.119 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/1.125, allocations: 15.94 kB / 1.119 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.127, allocations: 139.6 kB / 1.119 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/1.127, allocations: 42.19 kB / 1.119 GB, free: 8.676 MB / 0.8262 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.0002553/1.127, allocations: 247.9 kB / 1.119 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/1.127, allocations: 150.2 kB / 1.119 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/1.129, allocations: 0.8123 MB / 1.12 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.129, allocations: 8 kB / 1.12 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.129, allocations: 4 kB / 1.12 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009495/1.13, allocations: 0.7862 MB / 1.121 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/1.133, allocations: 2.29 MB / 1.123 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.133, allocations: 0 / 1.123 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008296/1.134, allocations: 180 kB / 1.123 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/1.134, allocations: 4 kB / 1.123 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/1.134, allocations: 23.92 kB / 1.123 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.134, allocations: 4 kB / 1.123 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.134, allocations: 0 / 1.123 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/1.136, allocations: 1.308 MB / 1.125 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/1.136, allocations: 327.2 kB / 1.125 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/1.136, allocations: 15.94 kB / 1.125 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.137, allocations: 96.7 kB / 1.125 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/1.137, allocations: 40.5 kB / 1.125 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.369e-05/1.137, allocations: 35.98 kB / 1.125 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00116/1.139, allocations: 0.9081 MB / 1.126 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/1.139, allocations: 0 / 1.126 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002101/1.141, allocations: 0.8379 MB / 1.127 GB, free: 420 kB / 0.8262 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 (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.0006053/1.141, allocations: 264.2 kB / 1.127 GB, free: 156 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001979/1.143, allocations: 1.323 MB / 1.128 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.143, allocations: 7.906 kB / 1.128 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004591/1.144, allocations: 347.9 kB / 1.129 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/1.147, allocations: 0.8474 MB / 1.13 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/1.152, allocations: 3.487 MB / 1.133 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/1.153, allocations: 1.345 MB / 1.134 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001647/1.154, allocations: 416.4 kB / 1.135 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/1.154, allocations: 123.3 kB / 1.135 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of SimCode: time 4.3e-07/1.154, allocations: 0 / 1.135 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of Templates: time 0.04938/1.204, allocations: 28.37 MB / 1.162 GB, free: 12.23 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)