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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 103.5 kB / 16.41 MB, free: 6.5 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.00109/0.00109, allocations: 189.6 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 280.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8679/0.8679, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 91.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3742, allocations: 86.98 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6062/0.9804, allocations: 274.6 MB / 1.035 GB, free: 16.05 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.999, allocations: 17.37 MB / 1.052 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/1.002, allocations: 71.28 kB / 1.052 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002504/1.004, allocations: 1.16 MB / 1.053 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006528/1.011, allocations: 3.105 MB / 1.056 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004363/1.015, allocations: 2.206 MB / 1.059 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004886/1.02, allocations: 4.856 MB / 1.063 GB, free: 12 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/1.022, allocations: 1.77 MB / 1.065 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004438/1.026, allocations: 2.439 MB / 1.067 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/1.028, allocations: 1.545 MB / 1.069 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000254/1.028, allocations: 192.4 kB / 1.069 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004753/1.033, allocations: 3.011 MB / 1.072 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004611/1.034, allocations: 0.7228 MB / 1.073 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009253/1.035, allocations: 1.119 MB / 1.074 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003532/1.038, allocations: 3.836 MB / 1.078 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.038, allocations: 4 kB / 1.078 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/1.038, allocations: 3.938 kB / 1.078 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.744e-05/1.038, allocations: 4 kB / 1.078 GB, free: 2.574 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002712/1.041, allocations: 2.426 MB / 1.08 GB, free: 112 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/1.041, allocations: 8.031 kB / 1.08 GB, free: 104 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003857/1.045, allocations: 0.6414 MB / 1.081 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/1.047, allocations: 1.4 MB / 1.082 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/1.047, allocations: 102.5 kB / 1.082 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/1.047, allocations: 139.4 kB / 1.082 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/1.049, allocations: 1.576 MB / 1.084 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/1.049, allocations: 0 / 1.084 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/1.05, allocations: 60 kB / 1.084 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/1.05, allocations: 45.27 kB / 1.084 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/1.052, allocations: 1.273 MB / 1.085 GB, free: 10.82 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.007408/1.059, allocations: 7.208 MB / 1.092 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/1.06, allocations: 0.6379 MB / 1.093 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/1.06, allocations: 376.8 kB / 1.093 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/1.061, allocations: 101.7 kB / 1.093 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/1.061, allocations: 43.12 kB / 1.093 GB, free: 2 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003865/1.061, allocations: 101.2 kB / 1.093 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=67): time 2.545e-06/1.061, allocations: 4 kB / 1.093 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67): time 0.001722/1.063, allocations: 1.011 MB / 1.094 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/1.063, allocations: 59.97 kB / 1.094 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/1.064, allocations: 1.343 MB / 1.096 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/1.064, allocations: 45.7 kB / 1.096 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005251/1.065, allocations: 0.7746 MB / 1.097 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/1.065, allocations: 243.5 kB / 1.097 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/1.065, allocations: 206.4 kB / 1.097 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.066, allocations: 345.9 kB / 1.097 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/1.066, allocations: 352.7 kB / 1.098 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000754/1.067, allocations: 0.6842 MB / 1.098 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/1.068, allocations: 0.9514 MB / 1.099 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.068, allocations: 0 / 1.099 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001608/1.07, allocations: 1.152 MB / 1.1 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.07, allocations: 8 kB / 1.1 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.07, allocations: 12.06 kB / 1.1 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/1.07, allocations: 16.11 kB / 1.1 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/1.071, allocations: 209.5 kB / 1.101 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/1.071, allocations: 15.38 kB / 1.101 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/1.072, allocations: 47.91 kB / 1.101 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.241e-05/1.072, allocations: 47.92 kB / 1.101 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009229/1.073, allocations: 0.6815 MB / 1.101 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000739/1.073, allocations: 0.679 MB / 1.102 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001131/1.075, allocations: 0.9502 MB / 1.103 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.035e-06/1.075, allocations: 0 / 1.103 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001558/1.076, allocations: 1.159 MB / 1.104 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.076, allocations: 10.81 kB / 1.104 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.076, allocations: 8 kB / 1.104 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/1.076, allocations: 12 kB / 1.104 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/1.077, allocations: 207.5 kB / 1.104 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.077, allocations: 15.28 kB / 1.104 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/1.078, allocations: 64.67 kB / 1.104 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/1.078, allocations: 36 kB / 1.104 GB, free: 6.25 MB / 0.7481 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.0001998/1.078, allocations: 244.9 kB / 1.105 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/1.079, allocations: 150.2 kB / 1.105 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/1.08, allocations: 0.8308 MB / 1.106 GB, free: 5.023 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.08, allocations: 4 kB / 1.106 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.08, allocations: 4 kB / 1.106 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001239/1.081, allocations: 0.7892 MB / 1.106 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/1.084, allocations: 2.299 MB / 1.109 GB, free: 1.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.084, allocations: 3.938 kB / 1.109 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007826/1.085, allocations: 166.3 kB / 1.109 GB, free: 1.672 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/1.085, allocations: 4 kB / 1.109 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/1.085, allocations: 23.92 kB / 1.109 GB, free: 1.645 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.085, allocations: 4 kB / 1.109 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.085, allocations: 0 / 1.109 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/1.086, allocations: 1.257 MB / 1.11 GB, free: 360 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/1.087, allocations: 327.1 kB / 1.11 GB, free: 12 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/1.087, allocations: 12.62 kB / 1.11 GB, free: 0 / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007986/1.088, allocations: 46.38 kB / 1.11 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/1.088, allocations: 40.08 kB / 1.11 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.901e-05/1.088, allocations: 31.98 kB / 1.11 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001041/1.089, allocations: 0.9121 MB / 1.111 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/1.089, allocations: 0 / 1.111 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001564/1.091, allocations: 0.8418 MB / 1.112 GB, free: 14.13 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * 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.0004688/1.091, allocations: 260.7 kB / 1.112 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001787/1.093, allocations: 1.338 MB / 1.114 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.093, allocations: 3.906 kB / 1.114 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004273/1.093, allocations: 350.6 kB / 1.114 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/1.097, allocations: 0.841 MB / 1.115 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/1.1, allocations: 2.979 MB / 1.118 GB, free: 8.453 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008777/1.101, allocations: 1.344 MB / 1.119 GB, free: 7.074 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/1.102, allocations: 119.4 kB / 1.119 GB, free: 6.957 MB / 0.7637 GB Notification: Performance of SimCode: time 3.6e-07/1.102, allocations: 0 / 1.119 GB, free: 6.957 MB / 0.7637 GB Notification: Performance of Templates: time 0.03161/1.133, allocations: 25.47 MB / 1.144 GB, free: 13.73 MB / 0.795 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)