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.001523/0.001524, allocations: 115 kB / 16.42 MB, free: 6.469 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.00163/0.00163, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.289/1.289, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 297.8 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9398/0.9398, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 91.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.373, allocations: 86.99 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5854/0.9585, allocations: 274.6 MB / 1.035 GB, free: 16.06 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.975, allocations: 17.37 MB / 1.052 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.9768, allocations: 70.62 kB / 1.052 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.9792, allocations: 1.205 MB / 1.053 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006002/0.9852, allocations: 3.233 MB / 1.057 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004439/0.9897, allocations: 2.231 MB / 1.059 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004703/0.9944, allocations: 4.862 MB / 1.064 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.9966, allocations: 1.772 MB / 1.065 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005095/1.002, allocations: 2.491 MB / 1.068 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/1.004, allocations: 1.54 MB / 1.069 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000428/1.005, allocations: 196.1 kB / 1.069 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005243/1.01, allocations: 3.023 MB / 1.072 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007139/1.011, allocations: 0.723 MB / 1.073 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/1.012, allocations: 1.115 MB / 1.074 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00472/1.017, allocations: 3.839 MB / 1.078 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.017, allocations: 3.938 kB / 1.078 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/1.017, allocations: 10.62 kB / 1.078 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.866e-05/1.017, allocations: 0 / 1.078 GB, free: 2.32 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.003843/1.021, allocations: 2.418 MB / 1.08 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/1.021, allocations: 12.03 kB / 1.08 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/1.025, allocations: 0.6332 MB / 1.081 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/1.028, allocations: 1.41 MB / 1.082 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-05/1.028, allocations: 98.55 kB / 1.082 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/1.028, allocations: 140 kB / 1.082 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/1.031, allocations: 1.566 MB / 1.084 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/1.031, allocations: 6.625 kB / 1.084 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/1.031, allocations: 56 kB / 1.084 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.881e-05/1.031, allocations: 46.44 kB / 1.084 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/1.033, allocations: 1.269 MB / 1.085 GB, free: 10.58 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.008287/1.041, allocations: 7.214 MB / 1.092 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/1.042, allocations: 0.6402 MB / 1.093 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000527/1.043, allocations: 385.5 kB / 1.093 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/1.043, allocations: 101.7 kB / 1.093 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/1.043, allocations: 43.12 kB / 1.094 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004583/1.044, allocations: 98.31 kB / 1.094 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=67): time 3.026e-06/1.044, allocations: 4 kB / 1.094 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67): time 0.001829/1.045, allocations: 1.013 MB / 1.095 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/1.045, allocations: 63.06 kB / 1.095 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/1.047, allocations: 1.344 MB / 1.096 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.382e-05/1.047, allocations: 45.7 kB / 1.096 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00055/1.048, allocations: 0.7712 MB / 1.097 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/1.048, allocations: 246.1 kB / 1.097 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/1.048, allocations: 206.4 kB / 1.097 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.048, allocations: 345.9 kB / 1.098 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/1.049, allocations: 352.7 kB / 1.098 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007928/1.05, allocations: 0.6784 MB / 1.099 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/1.051, allocations: 0.9543 MB / 1.099 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.051, allocations: 0 / 1.099 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001721/1.053, allocations: 1.153 MB / 1.101 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.053, allocations: 10.81 kB / 1.101 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.053, allocations: 8.109 kB / 1.101 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.053, allocations: 15.97 kB / 1.101 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/1.054, allocations: 210.8 kB / 1.101 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/1.054, allocations: 18.61 kB / 1.101 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.055, allocations: 43.97 kB / 1.101 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/1.055, allocations: 43.94 kB / 1.101 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009612/1.056, allocations: 0.6854 MB / 1.102 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007845/1.057, allocations: 0.6767 MB / 1.102 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001225/1.058, allocations: 0.9532 MB / 1.103 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/1.058, allocations: 0 / 1.103 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001676/1.06, allocations: 1.156 MB / 1.104 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.06, allocations: 8 kB / 1.104 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/1.06, allocations: 8 kB / 1.104 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/1.06, allocations: 12 kB / 1.104 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/1.061, allocations: 204.2 kB / 1.105 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/1.061, allocations: 19.17 kB / 1.105 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/1.062, allocations: 52.09 kB / 1.105 GB, free: 6.047 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/1.062, allocations: 44 kB / 1.105 GB, free: 6.004 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.0002085/1.062, allocations: 251 kB / 1.105 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/1.062, allocations: 146.2 kB / 1.105 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/1.064, allocations: 0.8306 MB / 1.106 GB, free: 4.777 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009747/1.065, allocations: 0.7845 MB / 1.107 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.065, allocations: 4 kB / 1.107 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/1.065, allocations: 319.1 kB / 1.107 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/1.065, allocations: 19.92 kB / 1.107 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008789/1.066, allocations: 29.61 kB / 1.107 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.1e-05/1.066, allocations: 40.59 kB / 1.107 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001695/1.068, allocations: 0.8738 MB / 1.108 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001703/1.07, allocations: 1.342 MB / 1.109 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000438/1.07, allocations: 341.1 kB / 1.109 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001108/1.071, allocations: 0.9083 MB / 1.11 GB, free: 52 kB / 0.7481 GB Notification: Performance of Backend: time 3.11e-07/1.071, allocations: 0 / 1.11 GB, free: 52 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003386/1.075, allocations: 1.768 MB / 1.112 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of SimCode: time 0.006184/1.081, allocations: 3.799 MB / 1.116 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of Templates: time 0.05577/1.137, allocations: 38.91 MB / 1.154 GB, free: 4.188 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)