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.001661/0.001661, allocations: 111 kB / 16.41 MB, free: 6.504 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.001772/0.001772, allocations: 189.2 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.467/1.467, 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.002461/0.002461, allocations: 277.5 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 1.045/1.045, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 95.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4403, allocations: 86.97 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6894/1.13, allocations: 275.2 MB / 1.036 GB, free: 16.03 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01937/1.149, allocations: 17.4 MB / 1.053 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/1.152, allocations: 66.19 kB / 1.053 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002572/1.154, allocations: 1.216 MB / 1.054 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007064/1.161, allocations: 3.22 MB / 1.057 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005019/1.166, allocations: 2.242 MB / 1.059 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006413/1.173, allocations: 4.859 MB / 1.064 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/1.174, allocations: 1.484 MB / 1.066 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005374/1.18, allocations: 2.495 MB / 1.068 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/1.182, allocations: 1.535 MB / 1.07 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002554/1.182, allocations: 192.1 kB / 1.07 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005044/1.187, allocations: 3.019 MB / 1.073 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005721/1.188, allocations: 0.7442 MB / 1.073 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/1.189, allocations: 1.125 MB / 1.075 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004579/1.194, allocations: 3.853 MB / 1.078 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.194, allocations: 4 kB / 1.078 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/1.194, allocations: 0 / 1.078 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.768e-05/1.194, allocations: 2.625 kB / 1.078 GB, free: 2.555 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.003428/1.197, allocations: 2.491 MB / 1.081 GB, free: 20 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/1.197, allocations: 12.03 kB / 1.081 GB, free: 8 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/1.202, allocations: 0.6416 MB / 1.081 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/1.205, allocations: 1.421 MB / 1.083 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.361e-05/1.205, allocations: 106.5 kB / 1.083 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/1.205, allocations: 140 kB / 1.083 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/1.208, allocations: 1.569 MB / 1.085 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/1.208, allocations: 6.625 kB / 1.085 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/1.208, allocations: 52 kB / 1.085 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.357e-05/1.208, allocations: 46.45 kB / 1.085 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/1.211, allocations: 1.269 MB / 1.086 GB, free: 10.71 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.01004/1.221, allocations: 7.222 MB / 1.093 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/1.222, allocations: 0.6138 MB / 1.094 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/1.222, allocations: 346.1 kB / 1.094 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/1.223, allocations: 109.6 kB / 1.094 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/1.223, allocations: 39.12 kB / 1.094 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005879/1.223, allocations: 110.1 kB / 1.094 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=67): time 4.699e-06/1.223, allocations: 3.984 kB / 1.094 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67): time 0.001995/1.225, allocations: 1.021 MB / 1.095 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.225, allocations: 59.97 kB / 1.095 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/1.227, allocations: 1.343 MB / 1.096 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.511e-05/1.227, allocations: 45.7 kB / 1.096 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007957/1.228, allocations: 0.7905 MB / 1.097 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/1.228, allocations: 251.3 kB / 1.098 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/1.229, allocations: 198.5 kB / 1.098 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.229, allocations: 345.9 kB / 1.098 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/1.229, allocations: 360.7 kB / 1.098 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/1.23, allocations: 0.6814 MB / 1.099 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/1.232, allocations: 0.9463 MB / 1.1 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.232, allocations: 4 kB / 1.1 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001932/1.234, allocations: 1.158 MB / 1.101 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.234, allocations: 15.94 kB / 1.101 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.234, allocations: 8 kB / 1.101 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/1.234, allocations: 12 kB / 1.101 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009228/1.235, allocations: 208.6 kB / 1.101 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/1.235, allocations: 16.31 kB / 1.101 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.236, allocations: 50.72 kB / 1.101 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/1.236, allocations: 47.92 kB / 1.101 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00112/1.237, allocations: 0.6854 MB / 1.102 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000901/1.238, allocations: 0.6844 MB / 1.103 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001388/1.239, allocations: 0.9565 MB / 1.104 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.347e-06/1.239, allocations: 0 / 1.104 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001843/1.241, allocations: 1.154 MB / 1.105 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.241, allocations: 8 kB / 1.105 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.241, allocations: 8 kB / 1.105 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/1.241, allocations: 12 kB / 1.105 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/1.242, allocations: 209.5 kB / 1.105 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/1.242, allocations: 15.12 kB / 1.105 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/1.244, allocations: 61.09 kB / 1.105 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/1.244, allocations: 39.98 kB / 1.105 GB, free: 6.133 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.0002716/1.244, allocations: 246.1 kB / 1.105 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/1.244, allocations: 158 kB / 1.106 GB, free: 5.746 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/1.246, allocations: 0.8319 MB / 1.106 GB, free: 4.898 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.246, allocations: 8 kB / 1.106 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.246, allocations: 0 / 1.106 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/1.247, allocations: 0.7857 MB / 1.107 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/1.25, allocations: 2.298 MB / 1.109 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.25, allocations: 7.875 kB / 1.109 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008779/1.251, allocations: 170.6 kB / 1.11 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/1.251, allocations: 4 kB / 1.11 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/1.251, allocations: 16 kB / 1.11 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.251, allocations: 4 kB / 1.11 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.251, allocations: 10.8 kB / 1.11 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/1.253, allocations: 1.265 MB / 1.111 GB, free: 220 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/1.254, allocations: 332 kB / 1.111 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/1.254, allocations: 16 kB / 1.111 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008992/1.255, allocations: 35.22 kB / 1.111 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/1.255, allocations: 44.5 kB / 1.111 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.685e-05/1.255, allocations: 27.98 kB / 1.111 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001271/1.256, allocations: 0.919 MB / 1.112 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/1.256, allocations: 4 kB / 1.112 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001924/1.258, allocations: 0.8345 MB / 1.113 GB, free: 14 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.0005697/1.259, allocations: 266.9 kB / 1.113 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002124/1.261, allocations: 1.256 MB / 1.114 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/1.261, allocations: 5 kB / 1.114 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005082/1.261, allocations: 340.9 kB / 1.115 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003628/1.265, allocations: 0.8399 MB / 1.116 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/1.27, allocations: 2.939 MB / 1.118 GB, free: 8.441 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.271, allocations: 1.348 MB / 1.12 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001496/1.272, allocations: 422.8 kB / 1.12 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/1.273, allocations: 115.4 kB / 1.12 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of SimCode: time 9.32e-07/1.273, allocations: 0 / 1.12 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of Templates: time 0.05392/1.326, allocations: 29.45 MB / 1.149 GB, free: 9.617 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)