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.001317/0.001322, allocations: 102.5 kB / 16.41 MB, free: 6.445 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.001345/0.001345, allocations: 192.2 kB / 17.34 MB, free: 5.707 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 284.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9099/0.9099, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 95.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4076, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6446/1.052, allocations: 274.6 MB / 1.035 GB, free: 16.06 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0179/1.07, allocations: 17.38 MB / 1.052 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/1.073, allocations: 67.34 kB / 1.052 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002587/1.075, allocations: 1.159 MB / 1.053 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00719/1.082, allocations: 3.106 MB / 1.056 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00491/1.087, allocations: 2.206 MB / 1.059 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006093/1.094, allocations: 4.852 MB / 1.063 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/1.096, allocations: 1.772 MB / 1.065 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005611/1.102, allocations: 2.451 MB / 1.067 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/1.104, allocations: 1.535 MB / 1.069 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004004/1.105, allocations: 191.8 kB / 1.069 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005326/1.11, allocations: 3.014 MB / 1.072 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006822/1.111, allocations: 0.7183 MB / 1.073 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/1.112, allocations: 1.12 MB / 1.074 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005383/1.118, allocations: 3.845 MB / 1.078 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.118, allocations: 0 / 1.078 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/1.118, allocations: 4 kB / 1.078 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.051e-05/1.118, allocations: 4 kB / 1.078 GB, free: 2.559 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.003298/1.121, allocations: 2.415 MB / 1.08 GB, free: 104 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/1.121, allocations: 15.97 kB / 1.08 GB, free: 88 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004226/1.125, allocations: 0.6359 MB / 1.081 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/1.128, allocations: 1.408 MB / 1.082 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/1.128, allocations: 102.5 kB / 1.082 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/1.128, allocations: 140 kB / 1.082 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/1.13, allocations: 1.568 MB / 1.084 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/1.13, allocations: 7.75 kB / 1.084 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/1.131, allocations: 56 kB / 1.084 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.793e-05/1.131, allocations: 46.44 kB / 1.084 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/1.133, allocations: 1.268 MB / 1.085 GB, free: 10.81 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.008407/1.141, allocations: 7.213 MB / 1.092 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/1.142, allocations: 0.6402 MB / 1.093 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/1.143, allocations: 380.8 kB / 1.093 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/1.143, allocations: 101.7 kB / 1.093 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/1.143, allocations: 43.12 kB / 1.093 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005809/1.143, allocations: 97.61 kB / 1.093 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=67): time 4.869e-06/1.143, allocations: 4 kB / 1.093 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67): time 0.001943/1.145, allocations: 1.019 MB / 1.094 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.145, allocations: 59.97 kB / 1.094 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/1.147, allocations: 1.339 MB / 1.096 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/1.147, allocations: 45.7 kB / 1.096 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006045/1.148, allocations: 0.775 MB / 1.097 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/1.148, allocations: 242.1 kB / 1.097 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/1.149, allocations: 206.4 kB / 1.097 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.149, allocations: 345.9 kB / 1.097 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/1.149, allocations: 352.7 kB / 1.098 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007715/1.15, allocations: 0.6803 MB / 1.098 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/1.151, allocations: 0.9553 MB / 1.099 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.433e-06/1.151, allocations: 0 / 1.099 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001917/1.153, allocations: 1.148 MB / 1.1 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.153, allocations: 11.94 kB / 1.1 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.153, allocations: 8 kB / 1.1 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/1.153, allocations: 16 kB / 1.1 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008457/1.154, allocations: 205 kB / 1.101 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/1.154, allocations: 18.61 kB / 1.101 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/1.156, allocations: 50.56 kB / 1.101 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/1.156, allocations: 40 kB / 1.101 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001051/1.157, allocations: 0.6931 MB / 1.101 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007408/1.158, allocations: 0.6803 MB / 1.102 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001165/1.159, allocations: 0.9468 MB / 1.103 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.878e-06/1.159, allocations: 0 / 1.103 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001757/1.16, allocations: 1.157 MB / 1.104 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.161, allocations: 11.94 kB / 1.104 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.161, allocations: 12 kB / 1.104 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/1.161, allocations: 12 kB / 1.104 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008022/1.161, allocations: 202.8 kB / 1.104 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/1.161, allocations: 22.5 kB / 1.104 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/1.163, allocations: 61 kB / 1.104 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/1.163, allocations: 40 kB / 1.104 GB, free: 6.23 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.0002586/1.163, allocations: 248.6 kB / 1.105 GB, free: 5.992 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/1.163, allocations: 146.2 kB / 1.105 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/1.165, allocations: 0.8271 MB / 1.106 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.165, allocations: 4 kB / 1.106 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.165, allocations: 4 kB / 1.106 GB, free: 5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009463/1.166, allocations: 0.7895 MB / 1.106 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/1.169, allocations: 2.296 MB / 1.109 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.169, allocations: 7.875 kB / 1.109 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/1.17, allocations: 169.1 kB / 1.109 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/1.17, allocations: 4 kB / 1.109 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/1.17, allocations: 20 kB / 1.109 GB, free: 1.629 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/1.17, allocations: 4 kB / 1.109 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.17, allocations: 0 / 1.109 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/1.172, allocations: 1.253 MB / 1.11 GB, free: 348 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005654/1.173, allocations: 331.1 kB / 1.11 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/1.173, allocations: 12 kB / 1.11 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009281/1.174, allocations: 42.77 kB / 1.11 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/1.174, allocations: 43.69 kB / 1.11 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/1.174, allocations: 31.98 kB / 1.11 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00126/1.175, allocations: 0.9044 MB / 1.111 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/1.175, allocations: 0 / 1.111 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001969/1.177, 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.0005326/1.178, allocations: 267.5 kB / 1.112 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002047/1.18, allocations: 1.343 MB / 1.114 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.18, allocations: 0 / 1.114 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004822/1.18, allocations: 350.8 kB / 1.114 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/1.184, allocations: 0.8382 MB / 1.115 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/1.189, allocations: 2.979 MB / 1.118 GB, free: 8.441 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009983/1.19, allocations: 1.34 MB / 1.119 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/1.19, allocations: 123.4 kB / 1.119 GB, free: 6.945 MB / 0.7637 GB Notification: Performance of SimCode: time 8.02e-07/1.19, allocations: 0 / 1.119 GB, free: 6.945 MB / 0.7637 GB Notification: Performance of Templates: time 0.03478/1.225, allocations: 25.24 MB / 1.144 GB, free: 13.94 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)