Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8076/0.8076, allocations: 143.4 MB / 159.2 MB, free: 4.871 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 190.1 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 447.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 106.8 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 282.3 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 83.86 kB / 0.6885 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3316, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.629/0.9607, allocations: 272.5 MB / 1.034 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02449/0.9852, allocations: 17.46 MB / 1.051 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/0.9885, allocations: 63.56 kB / 1.051 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.9916, allocations: 0.995 MB / 1.052 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008172/0.9998, allocations: 2.921 MB / 1.055 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005453/1.005, allocations: 2.019 MB / 1.057 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008415/1.014, allocations: 6.749 MB / 1.063 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/1.016, allocations: 1.468 MB / 1.065 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006326/1.023, allocations: 2.131 MB / 1.067 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003668/1.026, allocations: 1.586 MB / 1.069 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005444/1.027, allocations: 96 kB / 1.069 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0081/1.035, allocations: 3.413 MB / 1.072 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001369/1.036, allocations: 0.6386 MB / 1.073 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002348/1.039, allocations: 1.019 MB / 1.074 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008684/1.048, allocations: 3.918 MB / 1.077 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.048, allocations: 0 / 1.077 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.523e-06/1.048, allocations: 0 / 1.077 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001215/1.048, allocations: 0 / 1.077 GB, free: 15.91 MB / 0.6511 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.005976/1.054, allocations: 2.427 MB / 1.08 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.054, allocations: 8.031 kB / 1.08 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004466/1.058, allocations: 0.6416 MB / 1.08 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/1.061, allocations: 1.322 MB / 1.082 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/1.061, allocations: 110.5 kB / 1.082 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/1.061, allocations: 136 kB / 1.082 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/1.064, allocations: 1.569 MB / 1.083 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/1.064, allocations: 4 kB / 1.083 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/1.064, allocations: 52 kB / 1.084 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.537e-05/1.064, allocations: 54.39 kB / 1.084 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/1.067, allocations: 1.27 MB / 1.085 GB, free: 8.117 MB / 0.6511 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.009189/1.076, allocations: 7.202 MB / 1.092 GB, free: 360 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/1.077, allocations: 0.649 MB / 1.092 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/1.078, allocations: 378.3 kB / 1.093 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/1.078, allocations: 105.7 kB / 1.093 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/1.078, allocations: 39.12 kB / 1.093 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007715/1.079, allocations: 147 kB / 1.093 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=67): time 3.687e-06/1.079, allocations: 0 / 1.093 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67): time 0.001918/1.081, allocations: 1.009 MB / 1.094 GB, free: 14 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/1.081, allocations: 63.97 kB / 1.094 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/1.082, allocations: 1.338 MB / 1.095 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.333e-05/1.082, allocations: 45.7 kB / 1.096 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000606/1.083, allocations: 0.7696 MB / 1.096 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/1.083, allocations: 244.5 kB / 1.097 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003286/1.084, allocations: 210.3 kB / 1.097 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.084, allocations: 345.9 kB / 1.097 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/1.084, allocations: 352.7 kB / 1.097 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008121/1.085, allocations: 0.683 MB / 1.098 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/1.086, allocations: 0.9489 MB / 1.099 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.087, allocations: 0 / 1.099 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001883/1.088, allocations: 1.152 MB / 1.1 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.088, allocations: 8 kB / 1.1 GB, free: 7.566 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.088, allocations: 11.94 kB / 1.1 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-05/1.088, allocations: 12 kB / 1.1 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/1.089, allocations: 212.2 kB / 1.1 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.423e-05/1.089, allocations: 15.92 kB / 1.1 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/1.091, allocations: 131.4 kB / 1.1 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.444e-05/1.091, allocations: 43.98 kB / 1.101 GB, free: 7.152 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001335/1.092, allocations: 0.6815 MB / 1.101 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007802/1.093, allocations: 0.6749 MB / 1.102 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001189/1.094, allocations: 0.9489 MB / 1.103 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.146e-06/1.094, allocations: 7.938 kB / 1.103 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001726/1.096, allocations: 1.145 MB / 1.104 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.096, allocations: 8 kB / 1.104 GB, free: 3.445 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.096, allocations: 8 kB / 1.104 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/1.096, allocations: 19.97 kB / 1.104 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/1.097, allocations: 207.7 kB / 1.104 GB, free: 3.215 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/1.097, allocations: 15.94 kB / 1.104 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.099, allocations: 139.6 kB / 1.104 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/1.099, allocations: 40 kB / 1.104 GB, free: 3.023 MB / 0.6667 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.0002617/1.099, allocations: 251.9 kB / 1.105 GB, free: 2.77 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/1.099, allocations: 150.2 kB / 1.105 GB, free: 2.621 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.101, allocations: 0.8085 MB / 1.105 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.101, allocations: 7.984 kB / 1.105 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.101, allocations: 0 / 1.105 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009341/1.102, allocations: 0.7823 MB / 1.106 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/1.105, allocations: 2.298 MB / 1.108 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.105, allocations: 4 kB / 1.108 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/1.106, allocations: 164 kB / 1.109 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/1.106, allocations: 8 kB / 1.109 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-05/1.106, allocations: 23.92 kB / 1.109 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.106, allocations: 7.938 kB / 1.109 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/1.106, allocations: 7.984 kB / 1.109 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009106/1.115, allocations: 6.24 MB / 1.115 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005686/1.116, allocations: 323.1 kB / 1.115 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/1.116, allocations: 20 kB / 1.115 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/1.117, allocations: 87.42 kB / 1.115 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.63e-05/1.117, allocations: 56.44 kB / 1.115 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/1.117, allocations: 27.98 kB / 1.115 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001204/1.118, allocations: 0.9119 MB / 1.116 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.773e-06/1.118, allocations: 0 / 1.116 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004123/1.123, allocations: 1.318 MB / 1.117 GB, free: 5.156 MB / 0.6823 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.0005547/1.123, allocations: 280.5 kB / 1.118 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002147/1.125, allocations: 1.33 MB / 1.119 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.125, allocations: 0 / 1.119 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004657/1.126, allocations: 351 kB / 1.119 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004029/1.13, allocations: 0.8363 MB / 1.12 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/1.135, allocations: 3.933 MB / 1.124 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.136, allocations: 1.377 MB / 1.125 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001917/1.138, allocations: 428.4 kB / 1.126 GB, free: 12.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/1.139, allocations: 115.4 kB / 1.126 GB, free: 12.44 MB / 0.698 GB Notification: Performance of SimCode: time 8.21e-07/1.139, allocations: 0 / 1.126 GB, free: 12.44 MB / 0.698 GB Notification: Performance of Templates: time 0.05293/1.192, allocations: 30.38 MB / 1.156 GB, free: 14.4 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)